Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001471/0.001471, allocations: 116 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001847/0.001847, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.221/0.221, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 75.84 kB / 417 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1081, allocations: 62.45 MB / 479.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003585/0.1117, allocations: 1.741 MB / 481.2 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.1137, allocations: 0.99 MB / 482.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.1138, allocations: 3.938 kB / 482.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003395/0.1142, allocations: 59.86 kB / 482.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003866/0.1146, allocations: 95.72 kB / 482.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.1148, allocations: 63.8 kB / 482.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.115, allocations: 103.7 kB / 482.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.206e-05/0.1151, allocations: 16.22 kB / 482.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.47e-05/0.1152, allocations: 47.78 kB / 482.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.1153, allocations: 43.83 kB / 482.7 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.1153, allocations: 7.938 kB / 482.7 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1154, allocations: 27.98 kB / 482.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.177e-05/0.1155, allocations: 19.92 kB / 482.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.215e-05/0.1156, allocations: 35.73 kB / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.1158, allocations: 103.9 kB / 482.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1158, allocations: 0 / 482.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1158, allocations: 4 kB / 482.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.1158, allocations: 0 / 482.8 MB, free: 2.246 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005982/0.1164, allocations: 410.9 kB / 483.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.1165, allocations: 12.03 kB / 483.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.1165, allocations: 8.844 kB / 483.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.1167, allocations: 212.7 kB / 483.5 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1168, allocations: 4.312 kB / 483.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.1168, allocations: 8.125 kB / 483.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.117, allocations: 53.67 kB / 483.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.117, allocations: 0 / 483.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.117, allocations: 0 / 483.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.117, allocations: 0 / 483.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.97e-05/0.1171, allocations: 15.98 kB / 483.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/0.1173, allocations: 181.7 kB / 483.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.1175, allocations: 50.56 kB / 483.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.941e-05/0.1176, allocations: 28.78 kB / 483.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.1176, allocations: 0 / 483.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.1178, allocations: 63.39 kB / 483.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.1178, allocations: 0 / 483.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002836/0.1181, allocations: 101.4 kB / 484 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.1181, allocations: 51.41 kB / 484 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.1183, allocations: 198.9 kB / 484.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.1183, allocations: 25.7 kB / 484.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.1184, allocations: 100.1 kB / 484.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.1184, allocations: 15.84 kB / 484.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.1185, allocations: 21.7 kB / 484.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1186, allocations: 322.8 kB / 484.7 MB, free: 188 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.06e-05/0.1187, allocations: 12 kB / 484.7 MB, free: 176 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.591e-05/0.1187, allocations: 29.7 kB / 484.7 MB, free: 140 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.1188, allocations: 53.89 kB / 484.8 MB, free: 80 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1188, allocations: 0 / 484.8 MB, free: 80 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001727/0.119, allocations: 85.47 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.119, allocations: 6.656 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1191, allocations: 4 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1191, allocations: 0 / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.632e-05/0.1192, allocations: 15.88 kB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.1192, allocations: 4.031 kB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.1192, allocations: 8 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.1192, allocations: 0 / 484.9 MB, free: 15.95 MB / 366.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 (7): * Single equations (assignments): 7 * 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.0001001/0.1193, allocations: 129.8 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.1194, allocations: 11.81 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/0.1194, allocations: 13 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1194, allocations: 3.938 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1194, allocations: 0 / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1195, allocations: 4 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.1196, allocations: 197.5 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1196, allocations: 4 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.092e-05/0.1196, allocations: 0 / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1196, allocations: 0 / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.1197, allocations: 4 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1197, allocations: 0 / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1197, allocations: 3.938 kB / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.1199, allocations: 109 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.1199, allocations: 89.02 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.1199, allocations: 3.984 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.836e-05/0.12, allocations: 4.125 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.12, allocations: 8 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.12, allocations: 4 kB / 485.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001238/0.1202, allocations: 148.7 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1202, allocations: 0 / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002206/0.1204, allocations: 16 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008998/0.1213, allocations: 411.7 kB / 486 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001593/0.1215, allocations: 47.92 kB / 486.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1215, allocations: 0 / 486.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.886e-05/0.1216, allocations: 16 kB / 486.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.1218, allocations: 34.97 kB / 486.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.1223, allocations: 225.9 kB / 486.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.1226, allocations: 0.7049 MB / 487.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.884e-05/0.1226, allocations: 12.55 kB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.367e-05/0.1227, allocations: 23.44 kB / 487.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1227, allocations: 0 / 487.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of Templates: time 0.004104/0.1268, allocations: 1.478 MB / 488.6 MB, free: 12.28 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches