Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008932/0.000893, allocations: 175 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.288/1.288, allocations: 205.4 MB / 222.9 MB, free: 9.039 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.0008571/0.0008571, allocations: 92.95 kB / 271.2 MB, free: 8.246 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.3164/0.3164, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003792, allocations: 16 kB / 432 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.109, allocations: 58.86 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.001841/0.1108, allocations: 1.401 MB / 492.2 MB, free: 9.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.1119, allocations: 0.7461 MB / 493 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.569e-05/0.112, allocations: 4 kB / 493 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.1122, allocations: 43.86 kB / 493 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.1124, allocations: 55.81 kB / 493.1 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.1127, allocations: 75.84 kB / 493.2 MB, free: 8.551 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.1128, allocations: 87.69 kB / 493.2 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.809e-05/0.1129, allocations: 12.22 kB / 493.2 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.781e-05/0.113, allocations: 43.78 kB / 493.3 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.763e-05/0.1131, allocations: 31.84 kB / 493.3 MB, free: 8.379 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.1131, allocations: 4 kB / 493.3 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.247e-05/0.1132, allocations: 35.98 kB / 493.4 MB, free: 8.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.63e-05/0.1132, allocations: 23.86 kB / 493.4 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.556e-05/0.1133, allocations: 69.36 kB / 493.5 MB, free: 8.242 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.1135, allocations: 100.1 kB / 493.5 MB, free: 8.145 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.1135, allocations: 0 / 493.5 MB, free: 8.145 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1135, allocations: 0 / 493.5 MB, free: 8.145 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1135, allocations: 0 / 493.5 MB, free: 8.145 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.0004775/0.114, allocations: 422.9 kB / 494 MB, free: 7.684 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.114, allocations: 8.031 kB / 494 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.1141, allocations: 12.75 kB / 494 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.1143, allocations: 219.8 kB / 494.2 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1143, allocations: 384 / 494.2 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.428e-05/0.1143, allocations: 8.125 kB / 494.2 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.1145, allocations: 61.55 kB / 494.3 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1145, allocations: 0 / 494.3 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1145, allocations: 0 / 494.3 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1145, allocations: 7.984 kB / 494.3 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.198e-05/0.1146, allocations: 19.98 kB / 494.3 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.115, allocations: 296.9 kB / 494.6 MB, free: 6.969 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.1151, allocations: 58.62 kB / 494.6 MB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.027e-05/0.1152, allocations: 28.78 kB / 494.7 MB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.1152, allocations: 4 kB / 494.7 MB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.1154, allocations: 63.39 kB / 494.7 MB, free: 6.793 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1154, allocations: 0 / 494.7 MB, free: 6.793 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005068/0.1159, allocations: 181 kB / 494.9 MB, free: 6.609 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.116, allocations: 55.41 kB / 495 MB, free: 6.543 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.1162, allocations: 259.7 kB / 495.2 MB, free: 6.277 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.1162, allocations: 29.7 kB / 495.2 MB, free: 6.242 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.59e-05/0.1163, allocations: 112.1 kB / 495.4 MB, free: 6.129 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.1164, allocations: 23.7 kB / 495.4 MB, free: 6.105 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.1164, allocations: 0 / 495.4 MB, free: 6.105 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1165, allocations: 330.8 kB / 495.7 MB, free: 5.773 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.788e-05/0.1166, allocations: 20 kB / 495.7 MB, free: 5.754 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.263e-05/0.1166, allocations: 37.64 kB / 495.8 MB, free: 5.711 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.1168, allocations: 61.69 kB / 495.8 MB, free: 5.645 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1168, allocations: 0 / 495.8 MB, free: 5.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001769/0.1169, allocations: 109.4 kB / 495.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.117, allocations: 4 kB / 495.9 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.117, allocations: 0 / 495.9 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.117, allocations: 4 kB / 495.9 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.1171, allocations: 12.38 kB / 495.9 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1171, allocations: 0 / 495.9 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.186e-05/0.1172, allocations: 15.95 kB / 496 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.1172, allocations: 8 kB / 496 MB, free: 5.488 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 0.0001168/0.1173, allocations: 141.4 kB / 496.1 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.1174, allocations: 15.81 kB / 496.1 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.405e-05/0.1174, allocations: 21.41 kB / 496.1 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1174, allocations: 3.984 kB / 496.1 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1174, allocations: 0 / 496.1 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1174, allocations: 7.875 kB / 496.2 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/0.1179, allocations: 403.3 kB / 496.5 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1179, allocations: 4 kB / 496.6 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.092e-05/0.1179, allocations: 7.984 kB / 496.6 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1179, allocations: 4 kB / 496.6 MB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.118, allocations: 3.938 kB / 496.6 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.118, allocations: 0 / 496.6 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.118, allocations: 4.188 kB / 496.6 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.1182, allocations: 212.4 kB / 496.8 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.953e-05/0.1183, allocations: 100.8 kB / 496.9 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.1183, allocations: 3.938 kB / 496.9 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-05/0.1184, allocations: 4 kB / 496.9 MB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.1184, allocations: 7.984 kB / 496.9 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.1184, allocations: 4 kB / 496.9 MB, free: 4.453 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001535/0.1186, allocations: 199 kB / 497.1 MB, free: 4.258 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1186, allocations: 4 kB / 497.1 MB, free: 4.254 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002416/0.1188, allocations: 27.98 kB / 497.1 MB, free: 4.227 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.0009313/0.1198, allocations: 450.2 kB / 497.6 MB, free: 3.828 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.12, allocations: 67.91 kB / 497.6 MB, free: 3.762 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.12, allocations: 0 / 497.6 MB, free: 3.762 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.545e-05/0.12, allocations: 27.94 kB / 497.7 MB, free: 3.734 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.1204, allocations: 23.97 kB / 497.7 MB, free: 3.711 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.1209, allocations: 336.8 kB / 498 MB, free: 3.348 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.1211, allocations: 0.7196 MB / 498.7 MB, free: 2.605 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.1212, allocations: 15.44 kB / 498.7 MB, free: 2.59 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1212, allocations: 4 kB / 498.7 MB, free: 2.586 MB / 378.7 MB Notification: Performance of Templates: time 0.003315/0.1245, allocations: 2.02 MB / 0.489 GB, free: 0.5664 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches