Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 223.2 MB / 241 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007374/0.0007373, allocations: 93.7 kB / 292.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2961/0.2961, allocations: 44.22 MB / 387.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002923, allocations: 8 kB / 459.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3357, allocations: 61.9 MB / 0.5096 GB, free: 38.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1083/0.4441, allocations: 88.35 MB / 0.5958 GB, free: 6.789 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001841/0.4443, allocations: 83.92 kB / 0.5959 GB, free: 6.711 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01042/0.4547, allocations: 4.466 MB / 0.6003 GB, free: 2.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4547, allocations: 4 kB / 0.6003 GB, free: 2.246 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.4548, allocations: 0 / 0.6003 GB, free: 2.246 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003496/0.4551, allocations: 383 kB / 0.6006 GB, free: 1.824 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.4552, allocations: 8.562 kB / 0.6007 GB, free: 1.816 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.4552, allocations: 7.906 kB / 0.6007 GB, free: 1.809 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.4554, allocations: 190.9 kB / 0.6008 GB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.4554, allocations: 4 kB / 0.6008 GB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.4555, allocations: 8 kB / 0.6009 GB, free: 1.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.4556, allocations: 63.36 kB / 0.6009 GB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.4556, allocations: 0 / 0.6009 GB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.4557, allocations: 8 kB / 0.6009 GB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.4557, allocations: 0 / 0.6009 GB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.34e-05/0.4558, allocations: 35.84 kB / 0.601 GB, free: 1.453 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.4561, allocations: 280.9 kB / 0.6012 GB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.4563, allocations: 50.48 kB / 0.6013 GB, free: 1.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.4563, allocations: 0 / 0.6013 GB, free: 1.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.4564, allocations: 46.58 kB / 0.6013 GB, free: 1.016 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.4564, allocations: 0 / 0.6013 GB, free: 1.016 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000548/0.4569, allocations: 153.4 kB / 0.6015 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.457, allocations: 81.05 kB / 0.6015 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.4571, allocations: 133.9 kB / 0.6017 GB, free: 0.625 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.4571, allocations: 25.7 kB / 0.6017 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/0.4572, allocations: 88.14 kB / 0.6018 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.4572, allocations: 23.73 kB / 0.6018 GB, free: 492 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.4572, allocations: 0 / 0.6018 GB, free: 492 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.4573, allocations: 314.8 kB / 0.6021 GB, free: 168 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.991e-05/0.4574, allocations: 27.98 kB / 0.6021 GB, free: 140 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.329e-05/0.4575, allocations: 37.69 kB / 0.6022 GB, free: 96 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.511e-05/0.4576, allocations: 31.98 kB / 0.6022 GB, free: 64 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4576, allocations: 3.984 kB / 0.6022 GB, free: 60 kB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002142/0.4578, allocations: 89.58 kB / 0.6023 GB, free: 15.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.4578, allocations: 4 kB / 0.6023 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4578, allocations: 3.984 kB / 0.6023 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.4578, allocations: 0 / 0.6023 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.213e-05/0.4579, allocations: 15.94 kB / 0.6023 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.4579, allocations: 4 kB / 0.6023 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.52e-05/0.458, allocations: 15.98 kB / 0.6023 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.458, allocations: 0 / 0.6023 GB, free: 15.92 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.229e-05/0.4581, allocations: 113.8 kB / 0.6024 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.4581, allocations: 11.86 kB / 0.6024 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.4583, allocations: 109.6 kB / 0.6025 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.4584, allocations: 320 / 0.6025 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.4584, allocations: 0 / 0.6025 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4584, allocations: 4 kB / 0.6026 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003943/0.4588, allocations: 366.5 kB / 0.6029 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4588, allocations: 0 / 0.6029 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.836e-05/0.4589, allocations: 15.98 kB / 0.6029 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4589, allocations: 3.938 kB / 0.6029 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.4589, allocations: 4 kB / 0.6029 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4589, allocations: 0 / 0.6029 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4589, allocations: 0 / 0.6029 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.4591, allocations: 199.3 kB / 0.6031 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/0.4592, allocations: 81.11 kB / 0.6032 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.4592, allocations: 0 / 0.6032 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.054e-05/0.4593, allocations: 7.984 kB / 0.6032 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.4593, allocations: 4 kB / 0.6032 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.4593, allocations: 11.94 kB / 0.6032 GB, free: 14.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.03e-05/0.4594, allocations: 108.6 kB / 0.6033 GB, free: 14.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4594, allocations: 0 / 0.6033 GB, free: 14.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002398/0.4597, allocations: 35.89 kB / 0.6034 GB, free: 14.76 MB / 426.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009959/0.4607, allocations: 455.8 kB / 0.6038 GB, free: 14.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.4609, allocations: 55.91 kB / 0.6038 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4609, allocations: 0 / 0.6038 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.978e-05/0.461, allocations: 31.97 kB / 0.6039 GB, free: 14.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.4612, allocations: 27.88 kB / 0.6039 GB, free: 14.37 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003832/0.4616, allocations: 168.8 kB / 0.6041 GB, free: 14.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.4619, allocations: 0.6926 MB / 0.6047 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.437e-05/0.4619, allocations: 20.16 kB / 0.6048 GB, free: 13.44 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.462, allocations: 19.42 kB / 0.6048 GB, free: 13.42 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.462, allocations: 0 / 0.6048 GB, free: 13.42 MB / 426.7 MB Notification: Performance of Templates: time 0.003174/0.4652, allocations: 1.28 MB / 0.606 GB, free: 12.14 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches