Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 108.2 kB / 16.64 MB, free: 6.812 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.001109/0.001109, allocations: 186 kB / 17.56 MB, free: 5.926 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.373/1.373, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.2142/0.2142, allocations: 43.51 MB / 314.3 MB, free: 0.7148 MB / 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.001425/0.001425, allocations: 69.75 kB / 382.9 MB, free: 56.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1126, allocations: 57.78 MB / 440.7 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002692/0.1153, allocations: 1.754 MB / 442.4 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009717/0.1163, allocations: 0.7889 MB / 443.2 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.619e-05/0.1164, allocations: 7.938 kB / 443.2 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.1167, allocations: 35.89 kB / 443.2 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.1169, allocations: 51.83 kB / 443.3 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.1171, allocations: 75.34 kB / 443.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.1173, allocations: 99.69 kB / 443.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1174, allocations: 12.52 kB / 443.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.353e-05/0.1175, allocations: 43.73 kB / 443.5 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.118e-05/0.1175, allocations: 35.83 kB / 443.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.1176, allocations: 4 kB / 443.6 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.53e-05/0.1176, allocations: 32 kB / 443.6 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.133e-05/0.1177, allocations: 27.89 kB / 443.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.1178, allocations: 39.75 kB / 443.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.1179, allocations: 87.81 kB / 443.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1179, allocations: 0 / 443.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1179, allocations: 0 / 443.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1179, allocations: 0 / 443.7 MB, free: 4.246 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004511/0.1184, allocations: 422.8 kB / 444.2 MB, free: 3.785 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1185, allocations: 19.88 kB / 444.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.1185, allocations: 8.844 kB / 444.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.1187, allocations: 208.7 kB / 444.4 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1187, allocations: 384 / 444.4 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.1187, allocations: 12.11 kB / 444.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.1189, allocations: 53.67 kB / 444.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1189, allocations: 0 / 444.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1189, allocations: 4 kB / 444.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1189, allocations: 0 / 444.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.729e-05/0.119, allocations: 23.92 kB / 444.5 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.1193, allocations: 280.9 kB / 444.8 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.1194, allocations: 54.69 kB / 444.8 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.594e-05/0.1195, allocations: 24.84 kB / 444.8 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.1195, allocations: 4 kB / 444.8 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.1197, allocations: 71.31 kB / 444.9 MB, free: 2.918 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.1198, allocations: 0 / 444.9 MB, free: 2.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005078/0.1203, allocations: 173.5 kB / 445.1 MB, free: 2.742 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.1203, allocations: 55.41 kB / 445.1 MB, free: 2.676 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.1205, allocations: 204.9 kB / 445.3 MB, free: 2.469 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.1205, allocations: 25.7 kB / 445.4 MB, free: 2.438 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.1205, allocations: 112 kB / 445.5 MB, free: 2.324 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.1205, allocations: 15.75 kB / 445.5 MB, free: 2.309 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.1206, allocations: 25.7 kB / 445.5 MB, free: 2.277 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.559e-05/0.1206, allocations: 326.8 kB / 445.8 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.048e-05/0.1207, allocations: 23.98 kB / 445.9 MB, free: 1.926 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.257e-05/0.1208, allocations: 37.7 kB / 445.9 MB, free: 1.883 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.402e-05/0.1209, allocations: 69.78 kB / 446 MB, free: 1.809 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1209, allocations: 0 / 446 MB, free: 1.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001487/0.121, allocations: 109.4 kB / 446.1 MB, free: 1.695 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.121, allocations: 7.938 kB / 446.1 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1211, allocations: 4 kB / 446.1 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1211, allocations: 0 / 446.1 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.606e-05/0.1212, allocations: 12 kB / 446.1 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.1212, allocations: 8.016 kB / 446.1 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.1212, allocations: 11.94 kB / 446.1 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.1212, allocations: 4 kB / 446.1 MB, free: 1.648 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 (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 7.287e-05/0.1213, allocations: 121.8 kB / 446.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.1213, allocations: 19.8 kB / 446.2 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.1214, allocations: 17.41 kB / 446.3 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1214, allocations: 0 / 446.3 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.1214, allocations: 0 / 446.3 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1214, allocations: 7.938 kB / 446.3 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003112/0.1217, allocations: 391.3 kB / 446.7 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1217, allocations: 0 / 446.7 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.89e-05/0.1218, allocations: 15.94 kB / 446.7 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1218, allocations: 4 kB / 446.7 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.1218, allocations: 3.938 kB / 446.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1218, allocations: 0 / 446.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1218, allocations: 0 / 446.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.122, allocations: 200.3 kB / 446.9 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.122, allocations: 92.91 kB / 447 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.1221, allocations: 7.938 kB / 447 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-05/0.1221, allocations: 0 / 447 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.1222, allocations: 7.984 kB / 447 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.1222, allocations: 12.12 kB / 447 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.488e-05/0.1223, allocations: 156.9 kB / 447.1 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1223, allocations: 3.938 kB / 447.1 MB, free: 0.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.1225, allocations: 20 kB / 447.2 MB, free: 492 kB / 318.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.001052/0.1236, allocations: 475.7 kB / 447.6 MB, free: 96 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.1238, allocations: 59.89 kB / 447.7 MB, free: 36 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1238, allocations: 0 / 447.7 MB, free: 36 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.599e-05/0.1239, allocations: 31.98 kB / 447.7 MB, free: 4 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.1243, allocations: 24.06 kB / 447.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005671/0.1248, allocations: 281.1 kB / 448 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.1252, allocations: 0.708 MB / 448.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.015e-05/0.1252, allocations: 19.42 kB / 448.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1252, allocations: 4 kB / 448.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of Templates: time 0.003918/0.1291, allocations: 1.911 MB / 450.7 MB, free: 13.01 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches