Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009736/0.0009736, allocations: 101.6 kB / 18.01 MB, free: 5.73 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.001309/0.001309, allocations: 176.2 kB / 18.91 MB, free: 4.871 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.4/1.4, allocations: 223.3 MB / 243 MB, free: 14.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2003/0.2003, allocations: 44.24 MB / 338.3 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.0003301, allocations: 16.7 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1101, allocations: 61.93 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002512/0.1127, allocations: 1.503 MB / 474.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.1146, allocations: 0.9279 MB / 475.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.1147, allocations: 0 / 475.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005853/0.1153, allocations: 291.4 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003953/0.1157, allocations: 191.5 kB / 475.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.1162, allocations: 155.9 kB / 476 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003323/0.1166, allocations: 231.4 kB / 476.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.907e-05/0.1166, allocations: 13.55 kB / 476.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.1168, allocations: 115.6 kB / 476.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002599/0.1171, allocations: 191.9 kB / 476.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.1171, allocations: 4 kB / 476.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.1173, allocations: 43.98 kB / 476.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.1174, allocations: 132.6 kB / 476.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.1176, allocations: 160.5 kB / 476.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003205/0.1179, allocations: 271.8 kB / 477.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1179, allocations: 0 / 477.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1179, allocations: 3.938 kB / 477.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.148e-06/0.1179, allocations: 0 / 477.1 MB, free: 9.098 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009734/0.1189, allocations: 0.6611 MB / 477.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.119, allocations: 12.03 kB / 477.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.325e-05/0.1191, allocations: 48.28 kB / 477.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00059/0.1197, allocations: 432 kB / 478.3 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.1197, allocations: 8.375 kB / 478.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.1197, allocations: 12.11 kB / 478.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.1199, allocations: 83.31 kB / 478.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1199, allocations: 4 kB / 478.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.12, allocations: 0 / 478.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.12, allocations: 0 / 478.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.1201, allocations: 31.97 kB / 478.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.1205, allocations: 370.3 kB / 478.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.1208, allocations: 109.2 kB / 478.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.48e-05/0.1209, allocations: 41.64 kB / 478.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.1209, allocations: 4 kB / 478.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002518/0.1212, allocations: 109 kB / 479 MB, free: 7.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.1212, allocations: 7.938 kB / 479 MB, free: 6.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004822/0.1217, allocations: 196.9 kB / 479.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.1218, allocations: 85.11 kB / 479.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.1228, allocations: 1.003 MB / 480.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.1229, allocations: 25.7 kB / 480.3 MB, free: 5.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.123, allocations: 228.1 kB / 480.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.862e-05/0.1231, allocations: 31.7 kB / 480.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.1231, allocations: 17.7 kB / 480.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1233, allocations: 370.8 kB / 481 MB, free: 5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.242e-05/0.1234, allocations: 27.98 kB / 481 MB, free: 4.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.1235, allocations: 55.36 kB / 481 MB, free: 4.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.1237, allocations: 87.41 kB / 481.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.1237, allocations: 0 / 481.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003148/0.124, allocations: 172.8 kB / 481.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1241, allocations: 8 kB / 481.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1241, allocations: 0 / 481.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1241, allocations: 7.938 kB / 481.3 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.1242, allocations: 24.03 kB / 481.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1242, allocations: 4 kB / 481.3 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.1243, allocations: 20.48 kB / 481.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.1244, allocations: 8 kB / 481.4 MB, free: 4.562 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0002202/0.1246, allocations: 214.2 kB / 481.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.078e-05/0.1247, allocations: 55.33 kB / 481.6 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.793e-05/0.1247, allocations: 55.84 kB / 481.7 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1248, allocations: 0 / 481.7 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1248, allocations: 8 kB / 481.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1248, allocations: 4 kB / 481.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.1251, allocations: 333.4 kB / 482 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1251, allocations: 0 / 482 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/0.1251, allocations: 11.98 kB / 482 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1252, allocations: 0 / 482 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.1252, allocations: 4 kB / 482 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.1252, allocations: 0 / 482 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1252, allocations: 3.938 kB / 482 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/0.1255, allocations: 205.2 kB / 482.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.1257, allocations: 144.4 kB / 482.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/0.1257, allocations: 11.94 kB / 482.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.973e-05/0.1258, allocations: 7.984 kB / 482.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.1259, allocations: 4 kB / 482.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.1259, allocations: 7.984 kB / 482.4 MB, free: 3.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007931/0.1267, allocations: 0.7487 MB / 483.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1267, allocations: 4 kB / 483.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.127, allocations: 40 kB / 483.2 MB, free: 2.621 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001007/0.128, allocations: 421.7 kB / 483.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.1283, allocations: 75.91 kB / 483.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1283, allocations: 0 / 483.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.1284, allocations: 43.91 kB / 483.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.1288, allocations: 70.33 kB / 483.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.1302, allocations: 0.9767 MB / 484.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.1307, allocations: 0.8313 MB / 485.6 MB, free: 312 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.029e-05/0.1307, allocations: 35.42 kB / 485.6 MB, free: 276 kB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1307, allocations: 0 / 485.6 MB, free: 276 kB / 350.1 MB Notification: Performance of Templates: time 0.008576/0.1393, allocations: 4.888 MB / 490.5 MB, free: 11.39 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches