Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001478, allocations: 113.4 kB / 17.04 MB, free: 6.078 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.001723/0.001723, allocations: 195 kB / 17.97 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2128/0.2128, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001468, allocations: 72.23 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1151, allocations: 57.8 MB / 442 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002517/0.1176, allocations: 1.648 MB / 443.6 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009338/0.1186, allocations: 0.7828 MB / 444.4 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.946e-05/0.1186, allocations: 4 kB / 444.4 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.1189, allocations: 63.73 kB / 444.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.1191, allocations: 67.72 kB / 444.6 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.1193, allocations: 75.78 kB / 444.6 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.1195, allocations: 103.7 kB / 444.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.141e-05/0.1195, allocations: 4 kB / 444.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.24e-05/0.1196, allocations: 39.78 kB / 444.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.1197, allocations: 51.77 kB / 444.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.1197, allocations: 4 kB / 444.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.735e-05/0.1198, allocations: 35.98 kB / 444.9 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.629e-05/0.1199, allocations: 19.92 kB / 444.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.977e-05/0.1199, allocations: 27.8 kB / 444.9 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.12, allocations: 91.66 kB / 445 MB, free: 3.133 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1201, allocations: 0 / 445 MB, free: 3.133 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1201, allocations: 0 / 445 MB, free: 3.133 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1201, allocations: 4 kB / 445 MB, free: 3.129 MB / 318.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.0003903/0.1205, allocations: 406.9 kB / 445.4 MB, free: 2.684 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.1205, allocations: 23.83 kB / 445.4 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/0.1205, allocations: 8.844 kB / 445.4 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.1207, allocations: 208.9 kB / 445.6 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1208, allocations: 4.375 kB / 445.6 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.1208, allocations: 4.125 kB / 445.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.1209, allocations: 57.67 kB / 445.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1209, allocations: 0 / 445.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.1209, allocations: 0 / 445.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1209, allocations: 0 / 445.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.917e-05/0.121, allocations: 16 kB / 445.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.1211, allocations: 177.7 kB / 445.9 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.1213, allocations: 54.56 kB / 445.9 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.574e-05/0.1213, allocations: 24.78 kB / 446 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.1214, allocations: 4 kB / 446 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/0.1215, allocations: 71.38 kB / 446 MB, free: 1.926 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.1215, allocations: 0 / 446 MB, free: 1.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002363/0.1217, allocations: 93.52 kB / 446.1 MB, free: 1.828 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.1218, allocations: 55.34 kB / 446.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.1219, allocations: 194 kB / 446.4 MB, free: 1.562 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.1219, allocations: 29.7 kB / 446.4 MB, free: 1.527 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.156e-05/0.122, allocations: 96.14 kB / 446.5 MB, free: 1.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.122, allocations: 15.89 kB / 446.5 MB, free: 1.414 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.122, allocations: 17.72 kB / 446.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.473e-05/0.1221, allocations: 322.8 kB / 446.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.389e-05/0.1221, allocations: 15.98 kB / 446.9 MB, free: 1.051 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.38e-05/0.1222, allocations: 29.7 kB / 446.9 MB, free: 1.016 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.844e-05/0.1223, allocations: 49.64 kB / 446.9 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1223, allocations: 4 kB / 446.9 MB, free: 0.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001205/0.1224, allocations: 77.53 kB / 447 MB, free: 0.875 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.1224, allocations: 4 kB / 447 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1224, allocations: 7.938 kB / 447 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1225, allocations: 0 / 447 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.755e-05/0.1225, allocations: 11.98 kB / 447 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1225, allocations: 0 / 447 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.218e-05/0.1226, allocations: 11.84 kB / 447.1 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.1226, allocations: 320 / 447.1 MB, free: 0.8398 MB / 318.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 6.202e-05/0.1227, allocations: 141.7 kB / 447.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.1227, allocations: 11.84 kB / 447.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.945e-05/0.1227, allocations: 8.312 kB / 447.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1227, allocations: 0 / 447.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1227, allocations: 4 kB / 447.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1228, allocations: 3.984 kB / 447.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.186e-05/0.1228, allocations: 185.6 kB / 447.4 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1228, allocations: 0 / 447.4 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-05/0.1229, allocations: 4 kB / 447.4 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.1229, allocations: 4 kB / 447.4 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1229, allocations: 0 / 447.4 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1229, allocations: 3.938 kB / 447.4 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1229, allocations: 4 kB / 447.4 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.123, allocations: 109 kB / 447.5 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.298e-05/0.1231, allocations: 84.92 kB / 447.6 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.1231, allocations: 7.984 kB / 447.6 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.358e-05/0.1231, allocations: 4 kB / 447.6 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.1232, allocations: 8 kB / 447.6 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.1232, allocations: 0 / 447.6 MB, free: 176 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.324e-05/0.1233, allocations: 139.2 kB / 447.8 MB, free: 36 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1233, allocations: 0 / 447.8 MB, free: 36 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002033/0.1235, allocations: 20 kB / 447.8 MB, free: 16 kB / 318.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.0009113/0.1244, allocations: 416.3 kB / 448.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.1246, allocations: 43.91 kB / 448.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1246, allocations: 4.062 kB / 448.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.59e-05/0.1246, allocations: 20 kB / 448.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.1249, allocations: 27.91 kB / 448.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/0.1253, allocations: 198.1 kB / 448.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.1256, allocations: 0.6924 MB / 449.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.25e-05/0.1256, allocations: 24.34 kB / 449.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.1257, allocations: 19.44 kB / 449.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1257, allocations: 0 / 449.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of Templates: time 0.003936/0.1296, allocations: 1.466 MB / 450.7 MB, free: 13.16 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches