Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001793/0.001792, allocations: 179.5 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.071/2.071, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008679/0.000868, allocations: 86.31 kB / 270.9 MB, free: 8.352 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.3805/0.3805, allocations: 43.57 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004463/0.0004467, allocations: 24 kB / 431.4 MB, free: 6.141 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.114, allocations: 58.85 MB / 490.3 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002182/0.1162, allocations: 1.39 MB / 491.6 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.1175, allocations: 0.7345 MB / 492.4 MB, free: 9.062 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.262e-05/0.1176, allocations: 7.938 kB / 492.4 MB, free: 9.055 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.1179, allocations: 39.83 kB / 492.4 MB, free: 9.016 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.1181, allocations: 43.83 kB / 492.5 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.1183, allocations: 71.84 kB / 492.5 MB, free: 8.902 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.1185, allocations: 83.69 kB / 492.6 MB, free: 8.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.292e-05/0.1186, allocations: 12.22 kB / 492.6 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.705e-05/0.1187, allocations: 39.8 kB / 492.7 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.854e-05/0.1188, allocations: 31.83 kB / 492.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.1188, allocations: 4 kB / 492.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.886e-05/0.1189, allocations: 35.94 kB / 492.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.205e-05/0.119, allocations: 15.92 kB / 492.8 MB, free: 8.684 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.119, allocations: 37.64 kB / 492.8 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.1192, allocations: 92.08 kB / 492.9 MB, free: 8.551 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1192, allocations: 0 / 492.9 MB, free: 8.551 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1192, allocations: 0 / 492.9 MB, free: 8.551 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1192, allocations: 0 / 492.9 MB, free: 8.551 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.0005094/0.1197, allocations: 402.8 kB / 493.3 MB, free: 8.109 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1198, allocations: 12.02 kB / 493.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.1198, allocations: 11.91 kB / 493.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.12, allocations: 202.8 kB / 493.5 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.1201, allocations: 7.938 kB / 493.5 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.1201, allocations: 7.938 kB / 493.5 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1202, allocations: 49.67 kB / 493.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1203, allocations: 0 / 493.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.1203, allocations: 8 kB / 493.6 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-06/0.1203, allocations: 7.953 kB / 493.6 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.898e-05/0.1204, allocations: 15.98 kB / 493.6 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.1207, allocations: 281 kB / 493.9 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.1209, allocations: 58.61 kB / 493.9 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.181e-05/0.1209, allocations: 20.86 kB / 493.9 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.121, allocations: 4 kB / 493.9 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.1211, allocations: 71.25 kB / 494 MB, free: 7.246 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1211, allocations: 0 / 494 MB, free: 7.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005077/0.1217, allocations: 165.3 kB / 494.2 MB, free: 7.078 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.1217, allocations: 51.41 kB / 494.2 MB, free: 7.016 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.1219, allocations: 190.1 kB / 494.4 MB, free: 6.816 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.1219, allocations: 29.7 kB / 494.4 MB, free: 6.781 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.122, allocations: 100.1 kB / 494.5 MB, free: 6.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.122, allocations: 27.64 kB / 494.6 MB, free: 6.652 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-06/0.122, allocations: 4 kB / 494.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.542e-05/0.1221, allocations: 322.8 kB / 494.9 MB, free: 6.324 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.673e-05/0.1222, allocations: 23.92 kB / 494.9 MB, free: 6.301 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.511e-05/0.1222, allocations: 37.64 kB / 494.9 MB, free: 6.258 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.312e-05/0.1223, allocations: 28 kB / 495 MB, free: 6.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1223, allocations: 0 / 495 MB, free: 6.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001889/0.1225, allocations: 101.5 kB / 495.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1225, allocations: 8 kB / 495.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.1226, allocations: 0 / 495.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1226, allocations: 0 / 495.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.596e-05/0.1227, allocations: 12 kB / 495.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.1227, allocations: 8.359 kB / 495.1 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.875e-05/0.1227, allocations: 4 kB / 495.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1228, allocations: 8.031 kB / 495.1 MB, free: 6.086 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 9.075e-05/0.1228, allocations: 117.8 kB / 495.2 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.1229, allocations: 27.84 kB / 495.3 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.84e-05/0.1229, allocations: 16.66 kB / 495.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.1229, allocations: 3.984 kB / 495.3 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1229, allocations: 3.938 kB / 495.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.123, allocations: 0 / 495.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.1234, allocations: 399.2 kB / 495.7 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1234, allocations: 0 / 495.7 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.1234, allocations: 11.98 kB / 495.7 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1234, allocations: 0 / 495.7 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1234, allocations: 4 kB / 495.7 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1235, allocations: 4 kB / 495.7 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1235, allocations: 0 / 495.7 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.1237, allocations: 196.6 kB / 495.9 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.1237, allocations: 100.9 kB / 496 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.1238, allocations: 0 / 496 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.1238, allocations: 4 kB / 496 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.1239, allocations: 15.92 kB / 496 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.1239, allocations: 0 / 496 MB, free: 5.098 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001073/0.124, allocations: 148 kB / 496.1 MB, free: 4.953 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.124, allocations: 0 / 496.1 MB, free: 4.953 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002298/0.1242, allocations: 28 kB / 496.2 MB, free: 4.926 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.0008807/0.1251, allocations: 463.9 kB / 496.6 MB, free: 4.516 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.1253, allocations: 71.89 kB / 496.7 MB, free: 4.445 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1253, allocations: 0 / 496.7 MB, free: 4.445 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.822e-05/0.1254, allocations: 24 kB / 496.7 MB, free: 4.422 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.1257, allocations: 23.97 kB / 496.7 MB, free: 4.398 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004375/0.1262, allocations: 268.1 kB / 497 MB, free: 4.102 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.1265, allocations: 0.7043 MB / 497.7 MB, free: 3.371 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.1265, allocations: 23.42 kB / 497.7 MB, free: 3.348 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1265, allocations: 0 / 497.7 MB, free: 3.348 MB / 378.7 MB Notification: Performance of Templates: time 0.00345/0.13, allocations: 1.871 MB / 499.6 MB, free: 1.48 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches