Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 95.16 kB / 18 MB, free: 5.602 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.001413/0.001413, allocations: 176.8 kB / 18.91 MB, free: 4.738 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.359/1.359, allocations: 223.3 MB / 243 MB, free: 168 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1832/0.1832, allocations: 44.24 MB / 338.3 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003126, allocations: 12 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1038, allocations: 61.93 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002255/0.1061, allocations: 1.589 MB / 474.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.1081, allocations: 0.9551 MB / 475.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.1083, allocations: 7.938 kB / 475.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004848/0.1088, allocations: 211.5 kB / 475.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003616/0.1092, allocations: 151.5 kB / 475.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004897/0.1097, allocations: 171.6 kB / 476 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003212/0.1101, allocations: 223.3 kB / 476.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.1102, allocations: 21.67 kB / 476.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.1104, allocations: 103.5 kB / 476.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.1106, allocations: 151.5 kB / 476.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.1106, allocations: 4 kB / 476.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.1108, allocations: 59.97 kB / 476.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.496e-05/0.1109, allocations: 51.83 kB / 476.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.111, allocations: 117 kB / 476.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.1112, allocations: 167.9 kB / 476.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1112, allocations: 0 / 476.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1112, allocations: 3.938 kB / 476.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1112, allocations: 0 / 476.9 MB, free: 9.355 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00067/0.1119, allocations: 0.5139 MB / 477.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.112, allocations: 8.031 kB / 477.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.337e-05/0.112, allocations: 28.59 kB / 477.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.1123, allocations: 284 kB / 477.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.1124, allocations: 8.375 kB / 477.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.1124, allocations: 16.03 kB / 477.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.1126, allocations: 107.3 kB / 477.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.1127, allocations: 7.984 kB / 477.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.1127, allocations: 4 kB / 477.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.1127, allocations: 4 kB / 477.9 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.1129, allocations: 43.91 kB / 477.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005616/0.1134, allocations: 476.8 kB / 478.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003628/0.1138, allocations: 121.2 kB / 478.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1139, allocations: 45.81 kB / 478.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.1139, allocations: 4 kB / 478.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002495/0.1142, allocations: 123 kB / 478.6 MB, free: 7.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.1142, allocations: 4 kB / 478.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001272/0.1155, allocations: 0.4883 MB / 479.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.1156, allocations: 81.11 kB / 479.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004021/0.116, allocations: 424.5 kB / 479.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.116, allocations: 37.69 kB / 479.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1161, allocations: 156.5 kB / 479.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.211e-05/0.1162, allocations: 67.09 kB / 479.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.1162, allocations: 29.64 kB / 479.9 MB, free: 6.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1164, allocations: 342.8 kB / 480.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.1165, allocations: 55.97 kB / 480.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.1166, allocations: 91.34 kB / 480.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.1169, allocations: 159.3 kB / 480.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1169, allocations: 0 / 480.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003875/0.1173, allocations: 233.3 kB / 480.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1173, allocations: 15.94 kB / 480.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1174, allocations: 7.984 kB / 480.8 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1174, allocations: 0 / 480.8 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.1175, allocations: 43.92 kB / 480.8 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1175, allocations: 0 / 480.8 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.925e-05/0.1176, allocations: 15.94 kB / 480.9 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.1177, allocations: 7.984 kB / 480.9 MB, free: 5.078 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001515/0.1178, allocations: 166.3 kB / 481 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.1179, allocations: 43.55 kB / 481.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.023e-05/0.1179, allocations: 42.62 kB / 481.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.118, allocations: 3.938 kB / 481.1 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.118, allocations: 4 kB / 481.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.118, allocations: 0 / 481.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000863/0.1188, allocations: 0.7233 MB / 481.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1189, allocations: 3.984 kB / 481.9 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.919e-05/0.1189, allocations: 24 kB / 481.9 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.119, allocations: 0 / 481.9 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.119, allocations: 15.98 kB / 481.9 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.119, allocations: 3.938 kB / 481.9 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.119, allocations: 4 kB / 481.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004403/0.1194, allocations: 424 kB / 482.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.397e-05/0.1195, allocations: 108.7 kB / 482.4 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/0.1196, allocations: 11.98 kB / 482.4 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.1197, allocations: 16 kB / 482.4 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.1198, allocations: 23.89 kB / 482.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.1198, allocations: 12 kB / 482.5 MB, free: 3.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000285/0.1201, allocations: 315 kB / 482.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1201, allocations: 0 / 482.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003527/0.1205, allocations: 48 kB / 482.8 MB, free: 2.988 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001226/0.1217, allocations: 0.5285 MB / 483.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003371/0.1221, allocations: 147.8 kB / 483.5 MB, free: 2.523 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1221, allocations: 0 / 483.5 MB, free: 2.523 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.1222, allocations: 80.03 kB / 483.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000615/0.1228, allocations: 65.11 kB / 483.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009053/0.1238, allocations: 0.6579 MB / 484.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.1241, allocations: 0.7716 MB / 485.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.798e-05/0.1242, allocations: 27.44 kB / 485.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1242, allocations: 0 / 485.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of Templates: time 0.006265/0.1305, allocations: 3.612 MB / 488.7 MB, free: 13.25 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y,d2_t_new.y,d2_t_new_2.y Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time