Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001125/0.001125, allocations: 194 kB / 18.77 MB, free: 4.742 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.371/1.371, allocations: 222.9 MB / 242.5 MB, free: 13.77 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.2078/0.2078, allocations: 44.18 MB / 336.8 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 67.98 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1299, allocations: 60.83 MB / 469.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003755/0.1337, allocations: 1.839 MB / 471 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002542/0.1362, allocations: 1.526 MB / 472.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.1364, allocations: 0 / 472.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.1367, allocations: 47.83 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002875/0.137, allocations: 79.67 kB / 472.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.1375, allocations: 154.9 kB / 472.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.1377, allocations: 171.5 kB / 473 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.608e-05/0.1378, allocations: 9.562 kB / 473 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.1379, allocations: 79.56 kB / 473.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.1382, allocations: 70.86 kB / 473.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.1382, allocations: 4 kB / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.1384, allocations: 63.97 kB / 473.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.889e-05/0.1385, allocations: 27.91 kB / 473.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.694e-05/0.1385, allocations: 51.55 kB / 473.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.1388, allocations: 132 kB / 473.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1388, allocations: 0 / 473.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1388, allocations: 0 / 473.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.1388, allocations: 0 / 473.4 MB, free: 10.55 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.0007665/0.1396, allocations: 462.7 kB / 473.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.1396, allocations: 8.031 kB / 473.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.561e-05/0.1397, allocations: 20.75 kB / 473.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.1401, allocations: 243.8 kB / 474.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.1401, allocations: 12.3 kB / 474.2 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.1401, allocations: 8.125 kB / 474.2 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.1403, allocations: 93.09 kB / 474.3 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1404, allocations: 0 / 474.3 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.1404, allocations: 7.969 kB / 474.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1404, allocations: 8 kB / 474.3 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.1405, allocations: 31.92 kB / 474.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002258/0.1407, allocations: 210.5 kB / 474.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.141, allocations: 105.2 kB / 474.6 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.691e-05/0.1411, allocations: 45.62 kB / 474.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.1412, allocations: 0 / 474.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002683/0.1414, allocations: 105.1 kB / 474.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.1415, allocations: 4 kB / 474.8 MB, free: 9.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004718/0.1419, allocations: 165.4 kB / 474.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/0.142, allocations: 132.5 kB / 475.1 MB, free: 8.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.1423, allocations: 219.8 kB / 475.3 MB, free: 8.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.1423, allocations: 25.7 kB / 475.3 MB, free: 8.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.99e-05/0.1423, allocations: 112.1 kB / 475.4 MB, free: 8.324 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/0.1424, allocations: 27.7 kB / 475.4 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.1425, allocations: 33.64 kB / 475.5 MB, free: 8.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1426, allocations: 326.8 kB / 475.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.897e-05/0.1427, allocations: 27.98 kB / 475.8 MB, free: 7.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.1428, allocations: 73.12 kB / 475.9 MB, free: 7.812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.143, allocations: 95.89 kB / 476 MB, free: 7.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.143, allocations: 0 / 476 MB, free: 7.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002827/0.1433, allocations: 141.2 kB / 476.1 MB, free: 7.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1433, allocations: 4 kB / 476.1 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1433, allocations: 4 kB / 476.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1433, allocations: 0 / 476.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.1435, allocations: 27.92 kB / 476.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1435, allocations: 8.062 kB / 476.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.383e-05/0.1436, allocations: 7.938 kB / 476.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.1436, allocations: 4 kB / 476.2 MB, free: 7.508 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001174/0.1437, allocations: 138.3 kB / 476.3 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.1438, allocations: 15.81 kB / 476.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.068e-05/0.1438, allocations: 20.98 kB / 476.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1438, allocations: 7.938 kB / 476.3 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1438, allocations: 0 / 476.3 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1438, allocations: 7.938 kB / 476.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.144, allocations: 217.4 kB / 476.6 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.144, allocations: 0 / 476.6 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.273e-05/0.1441, allocations: 8 kB / 476.6 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1441, allocations: 0 / 476.6 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.1441, allocations: 7.984 kB / 476.6 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1441, allocations: 0 / 476.6 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1441, allocations: 0 / 476.6 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.1444, allocations: 169.8 kB / 476.8 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.1445, allocations: 92.95 kB / 476.8 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.1445, allocations: 11.98 kB / 476.9 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.671e-05/0.1446, allocations: 4 kB / 476.9 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.1446, allocations: 11.98 kB / 476.9 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.1447, allocations: 4 kB / 476.9 MB, free: 6.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.1448, allocations: 160.2 kB / 477 MB, free: 6.547 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1448, allocations: 0 / 477 MB, free: 6.547 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.1451, allocations: 35.94 kB / 477.1 MB, free: 6.512 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.001022/0.1461, allocations: 466.5 kB / 477.5 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002632/0.1464, allocations: 83.97 kB / 477.6 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1464, allocations: 0 / 477.6 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.1465, allocations: 35.98 kB / 477.6 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.1469, allocations: 57.66 kB / 477.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005891/0.1475, allocations: 327.2 kB / 478 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.1478, allocations: 0.7166 MB / 478.7 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.7e-05/0.1479, allocations: 27.42 kB / 478.8 MB, free: 4.938 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1479, allocations: 0 / 478.8 MB, free: 4.938 MB / 350.1 MB Notification: Performance of Templates: time 0.005539/0.1535, allocations: 2.722 MB / 481.5 MB, free: 2.23 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches