Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 177 kB / 17.06 MB, free: 5.094 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.217/1.217, allocations: 223.2 MB / 241 MB, free: 11.89 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.0009042/0.0009041, allocations: 94.12 kB / 292.1 MB, free: 10.93 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.2984/0.2984, allocations: 44.21 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003172/0.0003172, allocations: 8 kB / 459.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3224, allocations: 61.9 MB / 0.5096 GB, free: 37.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09934/0.4218, allocations: 88.36 MB / 0.5958 GB, free: 6.777 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.422, allocations: 75.94 kB / 0.5959 GB, free: 6.707 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01054/0.4326, allocations: 4.471 MB / 0.6003 GB, free: 2.246 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.4326, allocations: 0 / 0.6003 GB, free: 2.246 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.4326, 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.0003393/0.433, allocations: 383.1 kB / 0.6006 GB, free: 1.824 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.433, allocations: 8.562 kB / 0.6007 GB, free: 1.816 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.433, allocations: 11.84 kB / 0.6007 GB, free: 1.805 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.4332, allocations: 189.5 kB / 0.6008 GB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.4332, allocations: 4 kB / 0.6008 GB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.4333, allocations: 4 kB / 0.6009 GB, free: 1.574 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.4334, allocations: 67.3 kB / 0.6009 GB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.4334, allocations: 0 / 0.6009 GB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.4334, allocations: 11.94 kB / 0.6009 GB, free: 1.484 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.776e-06/0.4334, allocations: 0 / 0.6009 GB, free: 1.484 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.555e-05/0.4335, allocations: 31.91 kB / 0.601 GB, free: 1.453 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.4339, allocations: 280.9 kB / 0.6012 GB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.434, allocations: 46.55 kB / 0.6013 GB, free: 1.074 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.434, allocations: 0 / 0.6013 GB, free: 1.074 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.4341, allocations: 42.64 kB / 0.6013 GB, free: 1.023 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.4341, allocations: 0 / 0.6013 GB, free: 1.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004911/0.4346, allocations: 157.4 kB / 0.6015 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.4346, allocations: 77.11 kB / 0.6015 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.4347, allocations: 132.9 kB / 0.6017 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.4348, allocations: 29.64 kB / 0.6017 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.4348, allocations: 92.12 kB / 0.6018 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.4348, allocations: 23.73 kB / 0.6018 GB, free: 492 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.4348, allocations: 0 / 0.6018 GB, free: 492 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.299e-05/0.4349, allocations: 314.8 kB / 0.6021 GB, free: 168 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.078e-05/0.435, allocations: 27.98 kB / 0.6021 GB, free: 140 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.824e-05/0.4351, allocations: 37.69 kB / 0.6022 GB, free: 96 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.782e-05/0.4352, allocations: 31.98 kB / 0.6022 GB, free: 64 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4352, allocations: 3.984 kB / 0.6022 GB, free: 60 kB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001896/0.4354, allocations: 89.58 kB / 0.6023 GB, free: 15.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.4354, allocations: 9.391 kB / 0.6023 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.4354, allocations: 0 / 0.6023 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.4354, allocations: 0 / 0.6023 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.229e-05/0.4355, allocations: 19.94 kB / 0.6023 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.4355, allocations: 4 kB / 0.6023 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.4355, allocations: 11.98 kB / 0.6023 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.4356, allocations: 256 / 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.091e-05/0.4356, allocations: 113.8 kB / 0.6024 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.4357, allocations: 11.86 kB / 0.6024 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.4359, allocations: 113.6 kB / 0.6026 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4359, allocations: 0 / 0.6026 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.4359, allocations: 0 / 0.6026 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.4359, allocations: 0 / 0.6026 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003939/0.4363, allocations: 366.5 kB / 0.6029 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4364, allocations: 3.938 kB / 0.6029 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-05/0.4364, allocations: 15.98 kB / 0.6029 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4364, allocations: 0 / 0.6029 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.4364, allocations: 4 kB / 0.6029 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4364, allocations: 0 / 0.6029 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4364, allocations: 3.938 kB / 0.6029 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.4367, allocations: 199.3 kB / 0.6031 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.006e-05/0.4367, allocations: 81.11 kB / 0.6032 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.4367, allocations: 0 / 0.6032 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.695e-05/0.4368, allocations: 7.984 kB / 0.6032 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.4368, allocations: 8 kB / 0.6032 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.4369, allocations: 4 kB / 0.6032 GB, free: 14.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.022e-05/0.4369, allocations: 107.2 kB / 0.6033 GB, free: 14.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4369, allocations: 0 / 0.6033 GB, free: 14.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002273/0.4372, allocations: 31.91 kB / 0.6033 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.0008504/0.438, allocations: 455.2 kB / 0.6038 GB, free: 14.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.4382, allocations: 59.89 kB / 0.6038 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4382, allocations: 0 / 0.6038 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.172e-05/0.4383, allocations: 31.98 kB / 0.6039 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.4385, allocations: 19.94 kB / 0.6039 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.4388, 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.0002568/0.4391, allocations: 0.6965 MB / 0.6047 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.023e-05/0.4391, allocations: 16.42 kB / 0.6047 GB, free: 13.44 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.4392, allocations: 15.42 kB / 0.6048 GB, free: 13.43 MB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4392, allocations: 0 / 0.6048 GB, free: 13.43 MB / 426.7 MB Notification: Performance of Templates: time 0.003203/0.4424, allocations: 1.298 MB / 0.606 GB, free: 12.14 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches