Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001239/0.001239, allocations: 174 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.299/1.299, allocations: 205.4 MB / 222.9 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007187/0.0007188, allocations: 88.8 kB / 271.2 MB, free: 8.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3056/0.3056, allocations: 43.57 MB / 363.1 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003463, allocations: 19.92 kB / 432 MB, free: 5.574 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1127, allocations: 58.86 MB / 490.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.001897/0.1146, allocations: 1.394 MB / 492.2 MB, free: 9.234 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.1158, allocations: 0.7461 MB / 493 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.074e-05/0.1159, allocations: 0 / 493 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.1162, allocations: 39.83 kB / 493 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.1164, allocations: 43.83 kB / 493.1 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.1167, allocations: 71.84 kB / 493.1 MB, free: 8.328 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.1168, allocations: 75.77 kB / 493.2 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1169, allocations: 24.2 kB / 493.2 MB, free: 8.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.888e-05/0.117, allocations: 35.8 kB / 493.3 MB, free: 8.195 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.811e-05/0.1171, allocations: 27.84 kB / 493.3 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.1171, allocations: 4 kB / 493.3 MB, free: 8.164 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.597e-05/0.1172, allocations: 35.92 kB / 493.3 MB, free: 8.129 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.413e-05/0.1173, allocations: 15.92 kB / 493.3 MB, free: 8.113 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.832e-05/0.1174, allocations: 65.42 kB / 493.4 MB, free: 8.043 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.1175, allocations: 80.11 kB / 493.5 MB, free: 7.965 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1175, allocations: 0 / 493.5 MB, free: 7.965 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1175, allocations: 4 kB / 493.5 MB, free: 7.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1175, allocations: 0 / 493.5 MB, free: 7.961 MB / 378.7 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.0004842/0.118, allocations: 391.1 kB / 493.9 MB, free: 7.531 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1181, allocations: 12.03 kB / 493.9 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.1181, allocations: 12.84 kB / 493.9 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.1183, allocations: 212 kB / 494.1 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.1183, allocations: 4.375 kB / 494.1 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.1184, allocations: 4.125 kB / 494.1 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.1185, allocations: 57.67 kB / 494.2 MB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1185, allocations: 3.938 kB / 494.2 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1185, allocations: 4 kB / 494.2 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1186, allocations: 0 / 494.2 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.852e-05/0.1186, allocations: 19.98 kB / 494.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.119, allocations: 284.9 kB / 494.5 MB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.1192, allocations: 58.61 kB / 494.5 MB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.413e-05/0.1192, allocations: 20.86 kB / 494.6 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.1192, allocations: 3.984 kB / 494.6 MB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/0.1194, allocations: 71.23 kB / 494.6 MB, free: 6.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.1195, allocations: 0 / 494.6 MB, free: 6.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005239/0.12, allocations: 165.6 kB / 494.8 MB, free: 6.492 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.12, allocations: 63.38 kB / 494.9 MB, free: 6.418 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.1202, allocations: 186.2 kB / 495 MB, free: 6.227 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.1202, allocations: 25.7 kB / 495.1 MB, free: 6.195 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/0.1203, allocations: 100.1 kB / 495.2 MB, free: 6.094 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.1203, allocations: 27.64 kB / 495.2 MB, free: 6.066 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-06/0.1203, allocations: 0 / 495.2 MB, free: 6.066 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1205, allocations: 330.8 kB / 495.5 MB, free: 5.734 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.397e-05/0.1205, allocations: 19.94 kB / 495.5 MB, free: 5.715 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.994e-05/0.1206, allocations: 37.7 kB / 495.6 MB, free: 5.672 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.1207, allocations: 57.7 kB / 495.6 MB, free: 5.609 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1207, allocations: 0 / 495.6 MB, free: 5.609 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002023/0.1209, allocations: 101.6 kB / 495.7 MB, free: 5.504 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1209, allocations: 4 kB / 495.7 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.121, allocations: 4.109 kB / 495.7 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.121, allocations: 32 / 495.7 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.307e-05/0.1211, allocations: 24 kB / 495.7 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1211, allocations: 0 / 495.7 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.303e-05/0.1211, allocations: 15.92 kB / 495.8 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.1211, allocations: 3.938 kB / 495.8 MB, free: 5.453 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.102e-05/0.1212, allocations: 133.8 kB / 495.9 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.672e-05/0.1213, allocations: 7.906 kB / 495.9 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.823e-05/0.1213, allocations: 16.7 kB / 495.9 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1213, allocations: 0 / 495.9 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1213, allocations: 4 kB / 495.9 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1213, allocations: 7.938 kB / 495.9 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004049/0.1217, allocations: 391.2 kB / 496.3 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1218, allocations: 0 / 496.3 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.1218, allocations: 12 kB / 496.3 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1218, allocations: 0 / 496.3 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.1218, allocations: 11.92 kB / 496.3 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1218, allocations: 0 / 496.3 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1218, allocations: 4.031 kB / 496.3 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.122, allocations: 200.2 kB / 496.5 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/0.1221, allocations: 93.11 kB / 496.6 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.1221, allocations: 7.922 kB / 496.6 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-05/0.1222, allocations: 7.938 kB / 496.6 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.1223, allocations: 8 kB / 496.7 MB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.1223, allocations: 11.98 kB / 496.7 MB, free: 4.453 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1224, allocations: 140.1 kB / 496.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1224, allocations: 0 / 496.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002352/0.1226, allocations: 27.98 kB / 496.8 MB, free: 4.289 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000898/0.1235, allocations: 461.5 kB / 497.3 MB, free: 3.879 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001555/0.1237, allocations: 55.92 kB / 497.3 MB, free: 3.824 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1237, allocations: 0 / 497.3 MB, free: 3.824 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.787e-05/0.1238, allocations: 31.92 kB / 497.4 MB, free: 3.793 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.1241, allocations: 28.28 kB / 497.4 MB, free: 3.766 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004068/0.1245, allocations: 256.2 kB / 497.6 MB, free: 3.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.1248, allocations: 0.7043 MB / 498.3 MB, free: 2.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.1248, allocations: 19.44 kB / 498.4 MB, free: 2.73 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1248, allocations: 0 / 498.4 MB, free: 2.73 MB / 378.7 MB Notification: Performance of Templates: time 0.003132/0.128, allocations: 1.887 MB / 0.4885 GB, free: 0.8438 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches