Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001192/0.001192, allocations: 173.5 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.348/1.348, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0006872/0.0006871, allocations: 98.33 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.3342/0.3342, allocations: 43.55 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.0003519, allocations: 16 kB / 432 MB, free: 5.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1124, allocations: 58.86 MB / 490.8 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.001984/0.1145, allocations: 1.526 MB / 492.4 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.1157, allocations: 0.8318 MB / 493.2 MB, free: 8.492 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.343e-05/0.1158, allocations: 3.938 kB / 493.2 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.1161, allocations: 147.7 kB / 493.3 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.1164, allocations: 127.6 kB / 493.5 MB, free: 8.219 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.1167, allocations: 123.8 kB / 493.6 MB, free: 8.098 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.1169, allocations: 187.4 kB / 493.8 MB, free: 7.914 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.756e-05/0.117, allocations: 25.47 kB / 493.8 MB, free: 7.883 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.1171, allocations: 91.62 kB / 493.9 MB, free: 7.793 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.1173, allocations: 103.6 kB / 494 MB, free: 7.691 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.1173, allocations: 4 kB / 494 MB, free: 7.688 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-05/0.1174, allocations: 35.98 kB / 494 MB, free: 7.652 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.023e-05/0.1174, allocations: 51.81 kB / 494.1 MB, free: 7.602 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.641e-05/0.1175, allocations: 89.19 kB / 494.2 MB, free: 7.508 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.1177, allocations: 139.9 kB / 494.3 MB, free: 7.371 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.1177, allocations: 4 kB / 494.3 MB, free: 7.367 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1177, allocations: 0 / 494.3 MB, free: 7.367 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1178, allocations: 4 kB / 494.3 MB, free: 7.363 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005855/0.1183, allocations: 494.4 kB / 494.8 MB, free: 6.832 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.1184, allocations: 12.03 kB / 494.8 MB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.1184, allocations: 28.55 kB / 494.8 MB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.1187, allocations: 263.6 kB / 495.1 MB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.1187, allocations: 8.312 kB / 495.1 MB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.1188, allocations: 8.125 kB / 495.1 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.119, allocations: 95.36 kB / 495.2 MB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.119, allocations: 7.938 kB / 495.2 MB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.119, allocations: 3.984 kB / 495.2 MB, free: 6.367 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.119, allocations: 0 / 495.2 MB, free: 6.367 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.1192, allocations: 35.98 kB / 495.2 MB, free: 6.332 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.1196, allocations: 448.9 kB / 495.7 MB, free: 5.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.1199, allocations: 113.3 kB / 495.8 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.111e-05/0.12, allocations: 49.64 kB / 495.8 MB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.12, allocations: 0 / 495.8 MB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.1203, allocations: 113 kB / 495.9 MB, free: 5.527 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/0.1203, allocations: 0 / 495.9 MB, free: 5.527 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008149/0.1211, allocations: 352.1 kB / 496.3 MB, free: 5.176 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.1211, allocations: 89.05 kB / 496.4 MB, free: 5.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003164/0.1215, allocations: 350.9 kB / 496.7 MB, free: 4.723 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.1215, allocations: 33.7 kB / 496.8 MB, free: 4.684 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.065e-05/0.1216, allocations: 140.4 kB / 496.9 MB, free: 4.543 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.222e-05/0.1216, allocations: 47.36 kB / 496.9 MB, free: 4.496 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-06/0.1217, allocations: 4 kB / 496.9 MB, free: 4.492 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1218, allocations: 338.8 kB / 497.3 MB, free: 4.152 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.228e-05/0.1219, allocations: 43.92 kB / 497.3 MB, free: 4.109 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.122, allocations: 71.41 kB / 497.4 MB, free: 4.027 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.1222, allocations: 119.3 kB / 497.5 MB, free: 3.898 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1222, allocations: 0 / 497.5 MB, free: 3.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002954/0.1225, allocations: 185.3 kB / 497.7 MB, free: 3.711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1225, allocations: 4 kB / 497.7 MB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1225, allocations: 3.984 kB / 497.7 MB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1226, allocations: 4 kB / 497.7 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.1227, allocations: 27.98 kB / 497.7 MB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.1227, allocations: 11.88 kB / 497.7 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.645e-05/0.1228, allocations: 8 kB / 497.7 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.1228, allocations: 4 kB / 497.7 MB, free: 3.648 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001358/0.1229, allocations: 157.9 kB / 497.9 MB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.123, allocations: 27.72 kB / 497.9 MB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.38e-05/0.1231, allocations: 29.73 kB / 498 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1231, allocations: 4 kB / 498 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1231, allocations: 3.938 kB / 498 MB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1231, allocations: 0 / 498 MB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006858/0.1238, allocations: 0.6124 MB / 498.6 MB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1238, allocations: 4 kB / 498.6 MB, free: 2.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-05/0.1239, allocations: 19.92 kB / 498.6 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1239, allocations: 4 kB / 498.6 MB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.1239, allocations: 8 kB / 498.6 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1239, allocations: 0 / 498.6 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1239, allocations: 0 / 498.6 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.1243, allocations: 371.9 kB / 499 MB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.009e-05/0.1244, allocations: 101.6 kB / 499.1 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.1244, allocations: 8 kB / 499.1 MB, free: 2.199 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.1245, allocations: 11.92 kB / 499.1 MB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.1246, allocations: 15.92 kB / 499.1 MB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.1246, allocations: 12 kB / 499.1 MB, free: 2.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002228/0.1248, allocations: 261.9 kB / 499.4 MB, free: 1.902 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1248, allocations: 0 / 499.4 MB, free: 1.902 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003071/0.1252, allocations: 39.98 kB / 499.4 MB, free: 1.863 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009204/0.1261, allocations: 477.8 kB / 499.9 MB, free: 1.441 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002795/0.1264, allocations: 112 kB / 500 MB, free: 1.332 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.1264, allocations: 4 kB / 500 MB, free: 1.328 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.1265, allocations: 64.19 kB / 0.4883 GB, free: 1.266 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.1271, allocations: 56.97 kB / 0.4884 GB, free: 1.207 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008774/0.128, allocations: 0.4913 MB / 0.4889 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.183/0.311, allocations: 0.7492 MB / 0.4896 GB, free: 42.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.3111, allocations: 27.11 kB / 0.4896 GB, free: 42.42 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.3111, allocations: 3.75 kB / 0.4896 GB, free: 42.42 MB / 378.7 MB Notification: Performance of Templates: time 0.006147/0.3173, allocations: 3.067 MB / 0.4926 GB, free: 42.25 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches