Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008883/0.0008883, allocations: 92.17 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009368/0.0009367, allocations: 171.2 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2012/0.2012, allocations: 44.24 MB / 337.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.00031, allocations: 8 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1171, allocations: 61.93 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002046/0.1192, allocations: 1.417 MB / 473.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.1207, allocations: 0.8421 MB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.202e-05/0.1208, allocations: 3.938 kB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.121, allocations: 31.89 kB / 474.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.1212, allocations: 47.83 kB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.1215, allocations: 98.08 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.1217, allocations: 95.69 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.942e-05/0.1218, allocations: 12.23 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.704e-05/0.1219, allocations: 39.8 kB / 474.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.318e-05/0.122, allocations: 27.83 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.122, allocations: 4 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.587e-05/0.1221, allocations: 39.98 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.548e-05/0.1221, allocations: 19.86 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.414e-05/0.1222, allocations: 61.44 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.1224, allocations: 107.9 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1224, allocations: 4 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1224, allocations: 0 / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1224, allocations: 0 / 475.1 MB, free: 10.46 MB / 350.1 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.0005657/0.123, allocations: 393.4 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.1231, allocations: 12.03 kB / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.1231, allocations: 8.844 kB / 475.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.1233, allocations: 212 kB / 475.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.1234, allocations: 4.312 kB / 475.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.1234, allocations: 4.125 kB / 475.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.1236, allocations: 65.66 kB / 475.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1236, allocations: 0 / 475.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1236, allocations: 0 / 475.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1236, allocations: 4 kB / 475.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.446e-05/0.1237, allocations: 23.98 kB / 475.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.1241, allocations: 280.9 kB / 476.1 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.1243, allocations: 62.61 kB / 476.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.185e-05/0.1243, allocations: 16.86 kB / 476.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.1244, allocations: 0 / 476.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.1246, allocations: 75.38 kB / 476.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.456e-06/0.1246, allocations: 0 / 476.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005749/0.1252, allocations: 181.1 kB / 476.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.1252, allocations: 51.41 kB / 476.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.1254, allocations: 186.2 kB / 476.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.1254, allocations: 29.7 kB / 476.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.827e-05/0.1255, allocations: 100.1 kB / 476.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.1255, allocations: 23.66 kB / 476.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.1256, allocations: 21.7 kB / 476.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1257, allocations: 326.7 kB / 477.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.827e-05/0.1258, allocations: 27.94 kB / 477.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.858e-05/0.1259, allocations: 37.7 kB / 477.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.126, allocations: 53.7 kB / 477.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.126, allocations: 0 / 477.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001684/0.1262, allocations: 101.4 kB / 477.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1262, allocations: 14.33 kB / 477.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1262, allocations: 32 / 477.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.1262, allocations: 4 kB / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.94e-05/0.1263, allocations: 12 kB / 477.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1263, allocations: 4 kB / 477.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.1264, allocations: 3.938 kB / 477.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.1264, allocations: 7.984 kB / 477.4 MB, free: 7.93 MB / 350.1 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 8.854e-05/0.1265, allocations: 125.8 kB / 477.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.1265, allocations: 11.91 kB / 477.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.959e-05/0.1266, allocations: 16.86 kB / 477.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1266, allocations: 4 kB / 477.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1266, allocations: 0 / 477.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1266, allocations: 3.938 kB / 477.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004112/0.127, allocations: 395.3 kB / 477.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.127, allocations: 0 / 477.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.038e-05/0.1271, allocations: 8 kB / 478 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1271, allocations: 0 / 478 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1271, allocations: 12.3 kB / 478 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1271, allocations: 4.031 kB / 478 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1271, allocations: 0 / 478 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.1273, allocations: 212.1 kB / 478.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.1274, allocations: 85.02 kB / 478.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.1274, allocations: 11.92 kB / 478.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.777e-05/0.1275, allocations: 7.938 kB / 478.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.1275, allocations: 8 kB / 478.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.1275, allocations: 7.984 kB / 478.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.1276, allocations: 139.2 kB / 478.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1276, allocations: 0 / 478.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.1279, allocations: 27.98 kB / 478.5 MB, free: 6.762 MB / 350.1 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 (8): * Single equations (assignments): 6 * 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.001087/0.129, allocations: 472.2 kB / 478.9 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.1292, allocations: 51.92 kB / 479 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1292, allocations: 0 / 479 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.937e-05/0.1293, allocations: 35.92 kB / 479 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.1297, allocations: 27.97 kB / 479 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/0.1301, allocations: 246.5 kB / 479.3 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.1304, allocations: 0.7082 MB / 480 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.471e-05/0.1304, allocations: 17.17 kB / 480 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.1305, allocations: 15.44 kB / 480 MB, free: 5.32 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1305, allocations: 0 / 480 MB, free: 5.32 MB / 350.1 MB Notification: Performance of Templates: time 0.004044/0.1345, allocations: 1.616 MB / 481.6 MB, free: 3.723 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches