Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 97.22 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 177.3 kB / 16.57 MB, free: 6.852 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.367/1.367, allocations: 205.4 MB / 222.7 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3313/0.3313, allocations: 43.55 MB / 314.5 MB, free: 8.773 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.0005328/0.0005329, allocations: 16 kB / 383.9 MB, free: 8.031 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1134, allocations: 58.86 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.001736/0.1152, allocations: 1.391 MB / 444.1 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.1163, allocations: 0.7267 MB / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.01e-05/0.1163, allocations: 0 / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002584/0.1166, allocations: 39.81 kB / 444.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.1168, allocations: 35.89 kB / 444.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.117, allocations: 75.78 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.1171, allocations: 59.86 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.011e-05/0.1172, allocations: 16.2 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.058e-05/0.1173, allocations: 35.84 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.638e-05/0.1174, allocations: 23.86 kB / 445.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.1174, allocations: 4 kB / 445.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.381e-05/0.1175, allocations: 35.86 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.843e-05/0.1175, allocations: 19.97 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.542e-05/0.1176, allocations: 37.64 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.1177, allocations: 80.11 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.1177, allocations: 0 / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1177, allocations: 0 / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1177, allocations: 0 / 445.3 MB, free: 10.47 MB / 382.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.0004252/0.1182, allocations: 406.7 kB / 445.7 MB, free: 10.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.1182, allocations: 15.97 kB / 445.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.1182, allocations: 7.906 kB / 445.7 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.1185, allocations: 210.8 kB / 446 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1185, allocations: 0 / 446 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.1185, allocations: 4 kB / 446 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.1187, allocations: 53.67 kB / 446 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1187, allocations: 0 / 446 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.1187, allocations: 0 / 446 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1187, allocations: 7.938 kB / 446 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.664e-05/0.1188, allocations: 23.94 kB / 446 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.1191, allocations: 280.9 kB / 446.3 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.1193, allocations: 54.69 kB / 446.4 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.1193, allocations: 0 / 446.4 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.1195, allocations: 83.31 kB / 446.5 MB, free: 9.184 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1195, allocations: 4 kB / 446.5 MB, free: 9.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004987/0.12, allocations: 165.3 kB / 446.6 MB, free: 9.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.12, allocations: 59.41 kB / 446.7 MB, free: 8.941 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.1202, allocations: 182.1 kB / 446.9 MB, free: 8.754 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.1202, allocations: 29.7 kB / 446.9 MB, free: 8.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.1203, allocations: 104.1 kB / 447 MB, free: 8.613 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.1203, allocations: 19.72 kB / 447 MB, free: 8.594 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.1203, allocations: 4 kB / 447 MB, free: 8.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1204, allocations: 322.8 kB / 447.3 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.174e-05/0.1205, allocations: 23.98 kB / 447.3 MB, free: 8.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.373e-05/0.1205, allocations: 33.7 kB / 447.4 MB, free: 8.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.306e-05/0.1206, allocations: 20 kB / 447.4 MB, free: 8.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1206, allocations: 0 / 447.4 MB, free: 8.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001741/0.1208, allocations: 113.6 kB / 447.5 MB, free: 8.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1208, allocations: 11.89 kB / 447.5 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1208, allocations: 0 / 447.5 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.1208, allocations: 0 / 447.5 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.616e-05/0.1209, allocations: 16 kB / 447.5 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.1209, allocations: 0 / 447.5 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.121, allocations: 7.984 kB / 447.5 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.121, allocations: 0 / 447.5 MB, free: 8.031 MB / 382.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 ($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.083e-05/0.1211, allocations: 137.8 kB / 447.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.1211, allocations: 12.12 kB / 447.7 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.467e-05/0.1211, allocations: 20.66 kB / 447.7 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1212, allocations: 3.938 kB / 447.7 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1212, allocations: 0 / 447.7 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1212, allocations: 4 kB / 447.7 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.1215, allocations: 395.2 kB / 448.1 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1216, allocations: 0 / 448.1 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.152e-05/0.1216, allocations: 11.98 kB / 448.1 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1216, allocations: 4.031 kB / 448.1 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.1216, allocations: 4 kB / 448.1 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1216, allocations: 0 / 448.1 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1216, allocations: 0 / 448.1 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.1219, allocations: 217.9 kB / 448.3 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.1219, allocations: 96.91 kB / 448.4 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.1219, allocations: 4 kB / 448.4 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.005e-05/0.122, allocations: 4.375 kB / 448.4 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.122, allocations: 7.984 kB / 448.4 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.1221, allocations: 4 kB / 448.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.1222, allocations: 144.1 kB / 448.6 MB, free: 6.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1222, allocations: 0 / 448.6 MB, free: 6.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002372/0.1224, allocations: 27.98 kB / 448.6 MB, free: 6.848 MB / 382.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 (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.0009249/0.1234, allocations: 468.9 kB / 449.1 MB, free: 6.422 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.1235, allocations: 59.91 kB / 449.1 MB, free: 6.363 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.1235, allocations: 0 / 449.1 MB, free: 6.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.159e-05/0.1236, allocations: 28 kB / 449.2 MB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.1238, allocations: 35.86 kB / 449.2 MB, free: 6.301 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.1242, allocations: 230.7 kB / 449.4 MB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.1245, allocations: 0.7121 MB / 450.1 MB, free: 5.309 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.571e-05/0.1245, allocations: 12.88 kB / 450.1 MB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/0.1246, allocations: 19.42 kB / 450.2 MB, free: 5.273 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1246, allocations: 0 / 450.2 MB, free: 5.273 MB / 382.1 MB Notification: Performance of Templates: time 0.003609/0.1282, allocations: 1.583 MB / 451.7 MB, free: 3.691 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches