Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009201/0.0009201, allocations: 175.7 kB / 16.72 MB, free: 5.051 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.23/1.23, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007724/0.0007724, allocations: 85.23 kB / 271.2 MB, free: 8.258 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.3198/0.3198, allocations: 43.56 MB / 363.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004153/0.0004153, allocations: 16 kB / 432 MB, free: 5.598 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1136, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002049/0.1157, allocations: 1.365 MB / 492.2 MB, free: 9.285 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.1168, allocations: 0.7239 MB / 492.9 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.102e-05/0.1169, allocations: 0 / 492.9 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.1172, allocations: 63.78 kB / 493 MB, free: 8.492 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.1175, allocations: 51.81 kB / 493 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.1177, allocations: 79.86 kB / 493.1 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.1179, allocations: 83.73 kB / 493.2 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.23e-05/0.1179, allocations: 7.984 kB / 493.2 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.05e-05/0.118, allocations: 39.78 kB / 493.2 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.162e-05/0.1181, allocations: 39.83 kB / 493.3 MB, free: 8.195 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.1181, allocations: 4 kB / 493.3 MB, free: 8.191 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.158e-05/0.1182, allocations: 20 kB / 493.3 MB, free: 8.172 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.364e-05/0.1183, allocations: 15.92 kB / 493.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.144e-05/0.1183, allocations: 61.48 kB / 493.4 MB, free: 8.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.1185, allocations: 76.06 kB / 493.5 MB, free: 8.016 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1185, allocations: 0 / 493.5 MB, free: 8.016 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1185, allocations: 0 / 493.5 MB, free: 8.016 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1185, allocations: 0 / 493.5 MB, free: 8.016 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005059/0.119, allocations: 391 kB / 493.8 MB, free: 7.586 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1191, allocations: 8.031 kB / 493.8 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.1191, allocations: 16.83 kB / 493.9 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.1193, allocations: 204.1 kB / 494.1 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1194, allocations: 4.375 kB / 494.1 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.1194, allocations: 8.125 kB / 494.1 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.1195, allocations: 45.67 kB / 494.1 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.1195, allocations: 0 / 494.1 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1195, allocations: 4 kB / 494.1 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1196, allocations: 0 / 494.1 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.225e-05/0.1196, allocations: 19.91 kB / 494.1 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.1198, allocations: 185.6 kB / 494.3 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.12, allocations: 58.61 kB / 494.4 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.811e-05/0.1201, allocations: 24.8 kB / 494.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1201, allocations: 0 / 494.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.1203, allocations: 67.27 kB / 494.5 MB, free: 6.836 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1203, allocations: 3.938 kB / 494.5 MB, free: 6.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002768/0.1206, allocations: 101.6 kB / 494.6 MB, free: 6.727 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.1206, allocations: 55.41 kB / 494.6 MB, free: 6.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.1208, allocations: 174.2 kB / 494.8 MB, free: 6.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1208, allocations: 25.7 kB / 494.8 MB, free: 6.449 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/0.1209, allocations: 100.1 kB / 494.9 MB, free: 6.348 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.1209, allocations: 15.81 kB / 494.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.1209, allocations: 0 / 494.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.121, allocations: 322.8 kB / 495.2 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.135e-05/0.1211, allocations: 23.98 kB / 495.3 MB, free: 5.984 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.408e-05/0.1211, allocations: 25.7 kB / 495.3 MB, free: 5.953 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.029e-05/0.1212, allocations: 41.66 kB / 495.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1213, allocations: 0 / 495.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001532/0.1214, allocations: 89.45 kB / 495.4 MB, free: 5.812 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1214, allocations: 4 kB / 495.4 MB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.1214, allocations: 0 / 495.4 MB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1215, allocations: 4.031 kB / 495.4 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.773e-05/0.1215, allocations: 12 kB / 495.4 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1216, allocations: 0 / 495.4 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.455e-05/0.1216, allocations: 7.906 kB / 495.5 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.1216, allocations: 3.984 kB / 495.5 MB, free: 5.781 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 (7): * Single equations (assignments): 7 * 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.782e-05/0.1217, allocations: 125.8 kB / 495.6 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.1217, allocations: 11.91 kB / 495.6 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.1218, allocations: 16.3 kB / 495.6 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1218, allocations: 4 kB / 495.6 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1218, allocations: 0 / 495.6 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1218, allocations: 0 / 495.6 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.1219, allocations: 181.6 kB / 495.8 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.122, allocations: 0 / 495.8 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.055e-05/0.122, allocations: 7.938 kB / 495.8 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.122, allocations: 320 / 495.8 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.122, allocations: 7.984 kB / 495.8 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.122, allocations: 4 kB / 495.8 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.122, allocations: 0 / 495.8 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.1222, allocations: 109 kB / 495.9 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.1223, allocations: 100.8 kB / 496 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.1223, allocations: 0 / 496 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.669e-05/0.1223, allocations: 4 kB / 496 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.1224, allocations: 3.984 kB / 496 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.1224, allocations: 4 kB / 496 MB, free: 5.121 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.1225, allocations: 144 kB / 496.2 MB, free: 4.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1225, allocations: 3.938 kB / 496.2 MB, free: 4.977 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001994/0.1227, allocations: 24 kB / 496.2 MB, free: 4.953 MB / 378.7 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 (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.00084/0.1236, allocations: 415.2 kB / 496.6 MB, free: 4.582 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.1237, allocations: 39.98 kB / 496.6 MB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1237, allocations: 0 / 496.6 MB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.55e-05/0.1238, allocations: 23.92 kB / 496.7 MB, free: 4.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.124, allocations: 23.92 kB / 496.7 MB, free: 4.496 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004033/0.1245, allocations: 242.9 kB / 496.9 MB, free: 4.223 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.1247, allocations: 0.7004 MB / 497.6 MB, free: 3.496 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.1248, allocations: 19.44 kB / 497.6 MB, free: 3.477 MB / 378.7 MB Notification: Performance of SimCode: time 3.4e-07/0.1248, allocations: 0 / 497.6 MB, free: 3.477 MB / 378.7 MB Notification: Performance of Templates: time 0.003119/0.1279, allocations: 1.644 MB / 499.3 MB, free: 1.836 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches