Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, 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.001425/0.001426, 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.423/1.423, allocations: 222.9 MB / 242.4 MB, free: 15.49 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.2297/0.2297, allocations: 44.17 MB / 336.8 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 61.31 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1165, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003036/0.1195, allocations: 1.757 MB / 470.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.1215, allocations: 1.456 MB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.428e-05/0.1216, allocations: 0 / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002833/0.1219, allocations: 39.83 kB / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.1221, allocations: 47.83 kB / 472.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.1223, allocations: 91.59 kB / 472.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.1225, allocations: 91.69 kB / 472.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.425e-05/0.1226, allocations: 16.22 kB / 472.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.988e-05/0.1227, allocations: 39.73 kB / 472.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.1228, allocations: 39.83 kB / 472.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.1228, allocations: 0 / 472.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.123, allocations: 59.97 kB / 472.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.435e-05/0.123, allocations: 11.94 kB / 472.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.241e-05/0.1231, allocations: 39.77 kB / 472.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.1233, allocations: 96.03 kB / 473 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1233, allocations: 0 / 473 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1233, allocations: 4 kB / 473 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1233, allocations: 0 / 473 MB, free: 11.04 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.0005541/0.1238, allocations: 399.2 kB / 473.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1239, allocations: 8.031 kB / 473.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.968e-05/0.1239, allocations: 8.844 kB / 473.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.1242, allocations: 200.1 kB / 473.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1242, allocations: 8.359 kB / 473.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.1242, allocations: 4.125 kB / 473.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.1244, allocations: 75.33 kB / 473.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1244, allocations: 0 / 473.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.1244, allocations: 4 kB / 473.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1245, allocations: 4 kB / 473.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.53e-05/0.1245, allocations: 15.98 kB / 473.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.1249, allocations: 280.9 kB / 473.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.1251, allocations: 62.61 kB / 474 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.444e-05/0.1251, allocations: 16.86 kB / 474 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.1252, allocations: 0 / 474 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.1254, allocations: 67.39 kB / 474.1 MB, free: 9.742 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1254, allocations: 0 / 474.1 MB, free: 9.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005514/0.1259, allocations: 189.4 kB / 474.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.126, allocations: 77.11 kB / 474.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.1261, allocations: 156.1 kB / 474.5 MB, free: 9.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.1262, allocations: 33.64 kB / 474.5 MB, free: 9.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.1262, allocations: 92.14 kB / 474.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.1262, allocations: 23.7 kB / 474.7 MB, free: 9.141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.1263, allocations: 25.66 kB / 474.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1264, allocations: 322.8 kB / 475 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.452e-05/0.1265, allocations: 27.98 kB / 475 MB, free: 8.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-05/0.1266, allocations: 46.5 kB / 475.1 MB, free: 8.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.1267, allocations: 57.77 kB / 475.1 MB, free: 8.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1267, allocations: 0 / 475.1 MB, free: 8.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000197/0.1269, allocations: 101.5 kB / 475.2 MB, free: 8.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1269, allocations: 12.06 kB / 475.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1269, allocations: 0 / 475.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.127, allocations: 0 / 475.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.029e-05/0.1271, allocations: 15.98 kB / 475.2 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1271, allocations: 4 kB / 475.3 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.434e-05/0.1271, allocations: 7.875 kB / 475.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1272, allocations: 8 kB / 475.3 MB, free: 8.488 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 0.0001026/0.1273, allocations: 125.8 kB / 475.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.1273, allocations: 7.906 kB / 475.4 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.1273, allocations: 16.72 kB / 475.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1274, allocations: 0 / 475.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1274, allocations: 0 / 475.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1274, allocations: 3.938 kB / 475.4 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004289/0.1278, allocations: 387.3 kB / 475.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1278, allocations: 0 / 475.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/0.1279, allocations: 8 kB / 475.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1279, allocations: 0 / 475.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1279, allocations: 11.97 kB / 475.8 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1279, allocations: 0 / 475.8 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1279, allocations: 0 / 475.8 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.1281, allocations: 212.2 kB / 476 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.1282, allocations: 85.02 kB / 476.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.1282, allocations: 3.938 kB / 476.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.811e-05/0.1283, allocations: 8 kB / 476.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.1283, allocations: 11.98 kB / 476.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.1284, allocations: 4 kB / 476.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.998e-05/0.1285, allocations: 119.2 kB / 476.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1285, allocations: 0 / 476.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.1288, allocations: 28 kB / 476.3 MB, free: 7.367 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.001139/0.1299, allocations: 0.4961 MB / 476.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.1301, allocations: 55.92 kB / 476.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1301, allocations: 4.062 kB / 476.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.962e-05/0.1302, allocations: 35.91 kB / 476.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.1305, allocations: 33.73 kB / 476.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.131, allocations: 234.3 kB / 477.1 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.1312, allocations: 0.7004 MB / 477.8 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.1313, allocations: 15.44 kB / 477.8 MB, free: 5.93 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1313, allocations: 0 / 477.8 MB, free: 5.93 MB / 350.1 MB Notification: Performance of Templates: time 0.003707/0.135, allocations: 2.049 MB / 479.9 MB, free: 3.895 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches