Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008684/0.0008684, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008659/0.0008659, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9024/0.9024, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2238/0.2238, allocations: 32.79 MB / 293.5 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.38e-05, allocations: 2.281 kB / 439.7 MB, free: 4.152 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003064/0.003088, allocations: 1.722 MB / 441.4 MB, free: 2.414 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.00457, allocations: 0.9663 MB / 442.4 MB, free: 1.441 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.464e-05/0.004664, allocations: 0 / 442.4 MB, free: 1.441 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000325/0.004989, allocations: 39.77 kB / 442.4 MB, free: 1.402 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.005335, allocations: 103.5 kB / 442.5 MB, free: 1.301 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.005546, allocations: 83.59 kB / 442.6 MB, free: 1.219 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.005728, allocations: 99.64 kB / 442.7 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.862e-05/0.005827, allocations: 11.98 kB / 442.7 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.005941, allocations: 55.83 kB / 442.7 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.176e-05/0.006023, allocations: 27.91 kB / 442.8 MB, free: 1.027 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.00604, allocations: 4 kB / 442.8 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.894e-05/0.006139, allocations: 47.91 kB / 442.8 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.676e-05/0.006196, allocations: 15.88 kB / 442.8 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.685e-05/0.006243, allocations: 19.92 kB / 442.9 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.006455, allocations: 119.6 kB / 443 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.006459, allocations: 0 / 443 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.00646, allocations: 0 / 443 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.006464, allocations: 0 / 443 MB, free: 0.8242 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004977/0.006962, allocations: 345.5 kB / 443.3 MB, free: 468 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.007002, allocations: 8.031 kB / 443.3 MB, free: 460 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.007042, allocations: 46.62 kB / 443.4 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.007081, allocations: 12.84 kB / 443.4 MB, free: 392 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.007345, allocations: 146.2 kB / 443.5 MB, free: 220 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.007362, allocations: 4.375 kB / 443.5 MB, free: 216 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.007381, allocations: 8.375 kB / 443.5 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.007527, allocations: 57.98 kB / 443.6 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.007538, allocations: 0 / 443.6 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.007548, allocations: 0 / 443.6 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.007554, allocations: 3.984 kB / 443.6 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.728e-05/0.007621, allocations: 19.98 kB / 443.6 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.164/0.1716, allocations: 258.8 kB / 443.9 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.1717, allocations: 57.67 kB / 443.9 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.402e-05/0.1718, allocations: 20.09 kB / 443.9 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.1718, allocations: 2.469 kB / 443.9 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/0.1719, allocations: 67.41 kB / 444 MB, free: 46.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.933e-06/0.1719, allocations: 0 / 444 MB, free: 46.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004659/0.1724, allocations: 180.1 kB / 444.2 MB, free: 46.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.1724, allocations: 61.09 kB / 444.2 MB, free: 46.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.1725, allocations: 179.4 kB / 444.4 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.1725, allocations: 30.2 kB / 444.4 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.1726, allocations: 103.5 kB / 444.5 MB, free: 45.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.1726, allocations: 35.17 kB / 444.6 MB, free: 45.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.1726, allocations: 21.78 kB / 444.6 MB, free: 45.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.736e-05/0.1727, allocations: 332.5 kB / 444.9 MB, free: 45.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.098e-05/0.1727, allocations: 15.66 kB / 444.9 MB, free: 45.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.891e-05/0.1727, allocations: 40.61 kB / 445 MB, free: 45.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.143e-05/0.1728, allocations: 60.05 kB / 445 MB, free: 45.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1728, allocations: 0 / 445 MB, free: 45.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001145/0.1729, allocations: 110.8 kB / 445.1 MB, free: 45.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1729, allocations: 6.406 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1729, allocations: 1.406 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.173, allocations: 0 / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.898e-05/0.173, allocations: 18.14 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.173, allocations: 6.156 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.047e-05/0.1731, allocations: 6.406 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.1731, allocations: 6.594 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.062e-05/0.1731, allocations: 126.9 kB / 445.3 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.1732, allocations: 17.62 kB / 445.3 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.1733, allocations: 117.1 kB / 445.4 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.1733, allocations: 2.969 kB / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1733, allocations: 0 / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1733, allocations: 0 / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.1736, allocations: 374.1 kB / 445.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1736, allocations: 0 / 445.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.394e-05/0.1736, allocations: 11.69 kB / 445.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1736, allocations: 0 / 445.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1736, allocations: 5.094 kB / 445.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1736, allocations: 5.312 kB / 445.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1736, allocations: 2.969 kB / 445.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.1738, allocations: 218.8 kB / 446.1 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.174e-05/0.1738, allocations: 6.453 kB / 446.1 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.1738, allocations: 8.234 kB / 446.1 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.858e-05/0.1738, allocations: 6.844 kB / 446.1 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.1739, allocations: 5.891 kB / 446.1 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.1739, allocations: 2.938 kB / 446.1 MB, free: 44.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.295e-05/0.1739, allocations: 140.6 kB / 446.2 MB, free: 44.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1739, allocations: 0 / 446.2 MB, free: 44.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000174/0.1741, allocations: 32.56 kB / 446.3 MB, free: 44.85 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00096/0.1751, allocations: 1.141 MB / 447.4 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.1752, allocations: 68.16 kB / 447.5 MB, free: 44.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1752, allocations: 2.812 kB / 447.5 MB, free: 44.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.152e-05/0.1752, allocations: 32.77 kB / 447.5 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.1755, allocations: 25.48 kB / 447.5 MB, free: 44.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009574/0.1764, allocations: 1.652 MB / 449.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.079e-05/0.1765, allocations: 91.45 kB / 449.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.281e-05/0.1765, allocations: 23.28 kB / 449.3 MB, free: 42.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.809e-05/0.1766, allocations: 36.06 kB / 449.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1766, allocations: 2.406 kB / 449.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01852/0.1951, allocations: 4.225 MB / 453.5 MB, free: 41.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.891/7.086, allocations: 2.844 kB / 453.6 MB, free: 41.22 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.985830657184124]