Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,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.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009123/0.0009124, allocations: 174.9 kB / 16.72 MB, free: 4.957 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.26/1.26, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007059/0.0007058, allocations: 99.22 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.3219/0.3219, allocations: 43.57 MB / 363.1 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.000381, allocations: 16 kB / 432 MB, free: 5.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1121, allocations: 58.84 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.001658/0.1138, allocations: 1.401 MB / 492.2 MB, free: 9.477 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.1149, allocations: 0.7539 MB / 493 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.807e-05/0.1149, allocations: 4 kB / 493 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.1152, allocations: 39.86 kB / 493 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.1154, allocations: 59.81 kB / 493.1 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.1156, allocations: 75.84 kB / 493.2 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.1158, allocations: 87.69 kB / 493.2 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.25e-05/0.1159, allocations: 12.22 kB / 493.2 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.864e-05/0.116, allocations: 43.78 kB / 493.3 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.93e-05/0.1161, allocations: 27.84 kB / 493.3 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1161, allocations: 4 kB / 493.3 MB, free: 8.367 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.618e-05/0.1162, allocations: 36 kB / 493.4 MB, free: 8.332 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.678e-05/0.1162, allocations: 27.89 kB / 493.4 MB, free: 8.305 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.968e-05/0.1163, allocations: 65.33 kB / 493.4 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.1164, allocations: 104.1 kB / 493.6 MB, free: 8.133 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1164, allocations: 0 / 493.6 MB, free: 8.133 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1165, allocations: 0 / 493.6 MB, free: 8.133 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1165, allocations: 0 / 493.6 MB, free: 8.133 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.0005067/0.117, allocations: 418.5 kB / 494 MB, free: 7.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.117, allocations: 8.031 kB / 494 MB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.1171, allocations: 20.73 kB / 494 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.1173, allocations: 219.8 kB / 494.2 MB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.1173, allocations: 384 / 494.2 MB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.1174, allocations: 16.05 kB / 494.2 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.1175, allocations: 53.67 kB / 494.3 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1175, allocations: 3.938 kB / 494.3 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.1175, allocations: 0 / 494.3 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1175, allocations: 0 / 494.3 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.009e-05/0.1176, allocations: 19.98 kB / 494.3 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.118, allocations: 292.9 kB / 494.6 MB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.1182, allocations: 62.61 kB / 494.6 MB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.1182, allocations: 20.84 kB / 494.7 MB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.1182, allocations: 4 kB / 494.7 MB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.1184, allocations: 71.33 kB / 494.7 MB, free: 6.785 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1184, allocations: 0 / 494.7 MB, free: 6.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004956/0.1189, allocations: 181 kB / 494.9 MB, free: 6.602 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.119, allocations: 59.39 kB / 495 MB, free: 6.531 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.1192, allocations: 259.7 kB / 495.2 MB, free: 6.266 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.1192, allocations: 25.7 kB / 495.2 MB, free: 6.234 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.634e-05/0.1193, allocations: 112.1 kB / 495.4 MB, free: 6.121 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.1194, allocations: 27.7 kB / 495.4 MB, free: 6.094 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.1194, allocations: 0 / 495.4 MB, free: 6.094 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1195, allocations: 334.8 kB / 495.7 MB, free: 5.758 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.389e-05/0.1195, allocations: 23.94 kB / 495.7 MB, free: 5.734 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.092e-05/0.1196, allocations: 33.7 kB / 495.8 MB, free: 5.695 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.982e-05/0.1197, allocations: 53.7 kB / 495.8 MB, free: 5.637 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1197, allocations: 4 kB / 495.8 MB, free: 5.633 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000183/0.1199, allocations: 105.4 kB / 495.9 MB, free: 5.523 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1199, allocations: 4 kB / 495.9 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.12, allocations: 0 / 495.9 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.12, allocations: 7.984 kB / 495.9 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.084e-05/0.1201, allocations: 12 kB / 496 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1201, allocations: 0 / 496 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.111e-05/0.1201, allocations: 7.938 kB / 496 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.1202, allocations: 4 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.0001329/0.1203, allocations: 145.6 kB / 496.1 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.1203, allocations: 19.8 kB / 496.1 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.238e-05/0.1204, allocations: 21.41 kB / 496.1 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1204, allocations: 0 / 496.1 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1204, allocations: 0 / 496.1 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.1204, allocations: 7.922 kB / 496.2 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004478/0.1209, allocations: 407.2 kB / 496.6 MB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1209, allocations: 8.031 kB / 496.6 MB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.87e-05/0.1209, allocations: 4 kB / 496.6 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.1209, allocations: 7.984 kB / 496.6 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.121, allocations: 3.938 kB / 496.6 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.121, allocations: 0 / 496.6 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.121, allocations: 4 kB / 496.6 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.1212, allocations: 204.1 kB / 496.8 MB, free: 4.586 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.1213, allocations: 97.11 kB / 496.9 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.1213, allocations: 7.922 kB / 496.9 MB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.941e-05/0.1214, allocations: 7.938 kB / 496.9 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/0.1214, allocations: 4 kB / 496.9 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.1214, allocations: 7.984 kB / 496.9 MB, free: 4.445 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001572/0.1216, allocations: 199 kB / 497.1 MB, free: 4.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1216, allocations: 0 / 497.1 MB, free: 4.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002418/0.1219, allocations: 27.98 kB / 497.1 MB, free: 4.223 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.0009028/0.1228, allocations: 464.8 kB / 497.6 MB, free: 3.809 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001571/0.1229, allocations: 63.91 kB / 497.6 MB, free: 3.746 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1229, allocations: 64 / 497.6 MB, free: 3.746 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.598e-05/0.123, allocations: 35.92 kB / 497.7 MB, free: 3.711 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.1234, allocations: 23.97 kB / 497.7 MB, free: 3.688 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004704/0.1238, allocations: 328.7 kB / 498 MB, free: 3.332 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.1241, allocations: 0.7199 MB / 498.7 MB, free: 2.586 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.1242, allocations: 15.44 kB / 498.8 MB, free: 2.57 MB / 378.7 MB Notification: Performance of SimCode: time 4.1e-07/0.1242, allocations: 0 / 498.8 MB, free: 2.57 MB / 378.7 MB Notification: Performance of Templates: time 0.003291/0.1275, allocations: 2.023 MB / 0.489 GB, free: 0.5508 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches