Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.002216/0.002216, allocations: 187 kB / 19.34 MB, free: 3.641 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 / 243 MB, free: 15.16 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.2001/0.2001, allocations: 44.17 MB / 337.4 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 64.53 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1089, allocations: 60.82 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003216/0.1122, allocations: 1.707 MB / 472.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.1144, allocations: 1.479 MB / 473.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.482e-05/0.1145, allocations: 7.938 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002967/0.1148, allocations: 39.7 kB / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.1151, allocations: 55.7 kB / 474 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.1155, allocations: 119.4 kB / 474.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.1157, allocations: 107.7 kB / 474.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.327e-05/0.1158, allocations: 4.234 kB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.1159, allocations: 47.78 kB / 474.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.1161, allocations: 43.77 kB / 474.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.1161, allocations: 4 kB / 474.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.1162, allocations: 63.97 kB / 474.4 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.295e-05/0.1163, allocations: 11.98 kB / 474.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.4e-05/0.1164, allocations: 43.73 kB / 474.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.1166, allocations: 131.5 kB / 474.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1167, allocations: 0 / 474.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1167, allocations: 0 / 474.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.1167, allocations: 0 / 474.6 MB, free: 9.801 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005585/0.1172, allocations: 419 kB / 475 MB, free: 9.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1173, allocations: 8.031 kB / 475 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.1174, allocations: 8.844 kB / 475 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.1177, allocations: 208.7 kB / 475.2 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1178, allocations: 7.938 kB / 475.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.1178, allocations: 0 / 475.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.118, allocations: 87.25 kB / 475.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.118, allocations: 0 / 475.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.118, allocations: 0 / 475.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.118, allocations: 0 / 475.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.514e-05/0.1181, allocations: 31.97 kB / 475.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.1185, allocations: 300.8 kB / 475.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.1187, allocations: 70.59 kB / 475.7 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.132e-05/0.1188, allocations: 28.84 kB / 475.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.1189, allocations: 4 kB / 475.7 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.119, allocations: 71.39 kB / 475.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.119, allocations: 0 / 475.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005853/0.1196, allocations: 193.2 kB / 476 MB, free: 8.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.1197, allocations: 88.98 kB / 476.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.1199, allocations: 155.9 kB / 476.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.1199, allocations: 29.7 kB / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.346e-05/0.1199, allocations: 92.2 kB / 476.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.12, allocations: 35.64 kB / 476.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.12, allocations: 25.81 kB / 476.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1201, allocations: 322.8 kB / 476.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.995e-05/0.1202, allocations: 27.98 kB / 476.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.247e-05/0.1203, allocations: 46.56 kB / 476.8 MB, free: 7.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.1204, allocations: 65.64 kB / 476.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1205, allocations: 8.031 kB / 476.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002237/0.1207, allocations: 113.5 kB / 477 MB, free: 7.148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1207, allocations: 4 kB / 477 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1207, allocations: 0 / 477 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1207, allocations: 7.938 kB / 477 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.841e-05/0.1208, allocations: 19.98 kB / 477 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1209, allocations: 0 / 477 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.1209, allocations: 7.938 kB / 477 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.1209, allocations: 8 kB / 477 MB, free: 7.102 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 (11): * Single equations (assignments): 11 * 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 9.182e-05/0.121, allocations: 129.8 kB / 477.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.1211, allocations: 11.81 kB / 477.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.062e-05/0.1211, allocations: 16.66 kB / 477.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1211, allocations: 0 / 477.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1211, allocations: 0 / 477.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1211, allocations: 4 kB / 477.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004782/0.1216, allocations: 415.2 kB / 477.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1216, allocations: 4.031 kB / 477.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.054e-05/0.1217, allocations: 12 kB / 477.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1217, allocations: 0 / 477.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.1217, allocations: 0 / 477.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1217, allocations: 4 kB / 477.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1217, allocations: 0.5469 kB / 477.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.122, allocations: 216.2 kB / 477.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-05/0.122, allocations: 93.02 kB / 477.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.1221, allocations: 4 kB / 477.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.1222, allocations: 0 / 477.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.1222, allocations: 7.984 kB / 477.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.1222, allocations: 8 kB / 477.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.1223, allocations: 121.7 kB / 478 MB, free: 5.969 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1223, allocations: 0 / 478 MB, free: 5.969 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003093/0.1227, allocations: 31.98 kB / 478.1 MB, free: 5.938 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 (9): * Single equations (assignments): 7 * 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.001354/0.124, allocations: 0.5166 MB / 478.6 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002514/0.1243, allocations: 71.84 kB / 478.7 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1243, allocations: 0 / 478.7 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.1244, allocations: 31.98 kB / 478.7 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.1248, allocations: 27.97 kB / 478.7 MB, free: 5.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000549/0.1254, allocations: 210.8 kB / 478.9 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.1257, allocations: 0.7038 MB / 479.6 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.479e-05/0.1258, allocations: 20.78 kB / 479.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.683e-05/0.1259, allocations: 27.42 kB / 479.7 MB, free: 4.473 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1259, allocations: 0 / 479.7 MB, free: 4.473 MB / 350.1 MB Notification: Performance of Templates: time 0.005593/0.1315, allocations: 2.042 MB / 481.7 MB, free: 2.453 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches