Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001634/0.001634, 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.00192/0.00192, 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.378/1.378, allocations: 222.9 MB / 242.5 MB, free: 15.46 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.2063/0.2063, allocations: 44.17 MB / 336.8 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 64.44 kB / 408.4 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1119, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003228/0.1152, allocations: 1.71 MB / 470.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.1167, allocations: 0.8498 MB / 471.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.462e-05/0.1168, allocations: 0 / 471.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.1171, allocations: 55.8 kB / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.1173, allocations: 63.8 kB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.1176, allocations: 83.84 kB / 471.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.1177, allocations: 95.69 kB / 472 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.1178, allocations: 11.98 kB / 472.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.276e-05/0.1179, allocations: 43.77 kB / 472.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.921e-05/0.118, allocations: 39.78 kB / 472.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.118, allocations: 4 kB / 472.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.744e-05/0.1181, allocations: 31.98 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.887e-05/0.1182, allocations: 11.98 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.792e-05/0.1182, allocations: 35.73 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.1184, allocations: 72.11 kB / 472.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.1184, allocations: 0 / 472.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.1184, allocations: 0 / 472.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1184, allocations: 8 kB / 472.3 MB, free: 11.71 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.0005389/0.1189, allocations: 403 kB / 472.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.119, allocations: 12.03 kB / 472.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.242e-05/0.119, allocations: 8.844 kB / 472.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.1193, allocations: 200.2 kB / 472.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.1193, allocations: 4.375 kB / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.1194, allocations: 4.125 kB / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.1195, allocations: 45.67 kB / 473 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.1195, allocations: 4 kB / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1195, allocations: 4 kB / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1196, allocations: 0 / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.352e-05/0.1196, allocations: 23.86 kB / 473 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.1198, allocations: 185.5 kB / 473.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.12, allocations: 50.62 kB / 473.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.731e-05/0.1201, allocations: 28.78 kB / 473.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.1201, allocations: 0 / 473.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.1203, allocations: 67.33 kB / 473.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.1203, allocations: 0 / 473.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002776/0.1206, allocations: 93.58 kB / 473.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.1206, allocations: 59.39 kB / 473.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.1208, allocations: 194.1 kB / 473.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.1208, allocations: 25.7 kB / 473.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.1209, allocations: 100.1 kB / 473.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.1209, allocations: 19.8 kB / 473.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.121, allocations: 17.72 kB / 473.8 MB, free: 9.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1211, allocations: 322.8 kB / 474.1 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.184e-05/0.1211, allocations: 15.98 kB / 474.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-05/0.1212, allocations: 41.62 kB / 474.2 MB, free: 9.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.857e-05/0.1213, allocations: 33.72 kB / 474.2 MB, free: 9.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1213, allocations: 4 kB / 474.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001563/0.1215, allocations: 89.45 kB / 474.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1215, allocations: 4 kB / 474.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1215, allocations: 0 / 474.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1215, allocations: 4 kB / 474.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.373e-05/0.1216, allocations: 11.94 kB / 474.3 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1216, allocations: 4.031 kB / 474.3 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.1217, allocations: 7.984 kB / 474.3 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-06/0.1217, allocations: 0 / 474.3 MB, free: 9.43 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 (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 9.198e-05/0.1218, allocations: 121.8 kB / 474.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.1218, allocations: 11.91 kB / 474.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.004e-05/0.1219, allocations: 16.3 kB / 474.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1219, allocations: 0 / 474.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1219, allocations: 0 / 474.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1219, allocations: 3.984 kB / 474.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.122, allocations: 193.5 kB / 474.7 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.122, allocations: 3.938 kB / 474.7 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.058e-05/0.1221, allocations: 4 kB / 474.7 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1221, allocations: 0 / 474.7 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1221, allocations: 4.297 kB / 474.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1221, allocations: 4 kB / 474.7 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1221, allocations: 0 / 474.7 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.1223, allocations: 109 kB / 474.8 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.1223, allocations: 92.95 kB / 474.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.1224, allocations: 3.938 kB / 474.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.682e-05/0.1224, allocations: 4 kB / 474.9 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.1224, allocations: 3.984 kB / 474.9 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.1225, allocations: 8 kB / 474.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.1226, allocations: 135.2 kB / 475 MB, free: 8.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1226, allocations: 0 / 475 MB, free: 8.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002091/0.1228, allocations: 15.98 kB / 475.1 MB, free: 8.609 MB / 350.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.0008933/0.1237, allocations: 424.4 kB / 475.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001458/0.1239, allocations: 35.98 kB / 475.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1239, allocations: 0 / 475.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.195e-05/0.1239, allocations: 27.86 kB / 475.5 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.1242, allocations: 31.58 kB / 475.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.1246, allocations: 241.5 kB / 475.8 MB, free: 7.988 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.1249, allocations: 0.7004 MB / 476.5 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.565e-05/0.125, allocations: 15.44 kB / 476.5 MB, free: 7.246 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.125, allocations: 0 / 476.5 MB, free: 7.246 MB / 350.1 MB Notification: Performance of Templates: time 0.005228/0.1302, allocations: 1.671 MB / 478.2 MB, free: 5.578 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches