Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001178/0.001178, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008995/0.0008995, allocations: 104.9 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3449/0.3449, allocations: 44.84 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 71.88 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3724, allocations: 62.02 MB / 0.5152 GB, free: 37.85 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002745/0.3751, allocations: 1.652 MB / 0.5168 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008076/0.376, allocations: 0.5336 MB / 0.5173 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.461e-05/0.376, allocations: 2.969 kB / 0.5173 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.3762, allocations: 14.86 kB / 0.5173 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.3764, allocations: 64.75 kB / 0.5174 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.3767, allocations: 103 kB / 0.5175 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.3768, allocations: 58.39 kB / 0.5175 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.741e-05/0.3769, allocations: 17.05 kB / 0.5175 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.074e-05/0.377, allocations: 24.66 kB / 0.5176 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.221e-05/0.377, allocations: 24.8 kB / 0.5176 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.3771, allocations: 2.969 kB / 0.5176 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.792e-05/0.3771, allocations: 28.62 kB / 0.5176 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.815e-05/0.3772, allocations: 13.33 kB / 0.5176 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.3772, allocations: 18.62 kB / 0.5176 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.3774, allocations: 84.05 kB / 0.5177 GB, free: 36.13 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.3774, allocations: 4 kB / 0.5177 GB, free: 36.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3774, allocations: 0 / 0.5177 GB, free: 36.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.3774, allocations: 0 / 0.5177 GB, free: 36.12 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000387/0.3778, allocations: 383.8 kB / 0.5181 GB, free: 35.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3778, allocations: 8.781 kB / 0.5181 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.3779, allocations: 7.75 kB / 0.5181 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.378, allocations: 190.4 kB / 0.5183 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-06/0.3781, allocations: 384 / 0.5183 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.3781, allocations: 3.344 kB / 0.5183 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.3782, allocations: 58.88 kB / 0.5183 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.3782, allocations: 0 / 0.5183 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.3783, allocations: 0 / 0.5183 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3783, allocations: 3.969 kB / 0.5184 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.446e-05/0.3784, allocations: 23.12 kB / 0.5184 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/0.3787, allocations: 287.3 kB / 0.5186 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.3789, allocations: 43.22 kB / 0.5187 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.898e-05/0.379, allocations: 20.5 kB / 0.5187 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.379, allocations: 0 / 0.5187 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.342e-05/0.379, allocations: 34.5 kB / 0.5187 GB, free: 35.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.379, allocations: 0 / 0.5187 GB, free: 35.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005314/0.3796, allocations: 153 kB / 0.5189 GB, free: 35.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.3796, allocations: 51.41 kB / 0.5189 GB, free: 34.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.3797, allocations: 153.3 kB / 0.5191 GB, free: 34.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.3797, allocations: 25.7 kB / 0.5191 GB, free: 34.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.3798, allocations: 97.28 kB / 0.5192 GB, free: 34.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.3798, allocations: 15.75 kB / 0.5192 GB, free: 34.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.3799, allocations: 18.86 kB / 0.5192 GB, free: 34.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.582e-05/0.3799, allocations: 329 kB / 0.5195 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.593e-05/0.38, allocations: 22.73 kB / 0.5196 GB, free: 34.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.687e-05/0.3801, allocations: 23.38 kB / 0.5196 GB, free: 34.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.3802, allocations: 52.75 kB / 0.5196 GB, free: 34.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3802, allocations: 0 / 0.5196 GB, free: 34.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001675/0.3804, allocations: 87.95 kB / 0.5197 GB, free: 34.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3804, allocations: 9.688 kB / 0.5197 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3804, allocations: 7.922 kB / 0.5197 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3804, allocations: 2.906 kB / 0.5197 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.758e-05/0.3805, allocations: 11.92 kB / 0.5198 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.3805, allocations: 0 / 0.5198 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.799e-05/0.3805, allocations: 6.141 kB / 0.5198 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.3806, allocations: 2.938 kB / 0.5198 GB, free: 34.27 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.096e-05/0.3806, allocations: 116.6 kB / 0.5199 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.3807, allocations: 13.72 kB / 0.5199 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.3809, allocations: 104.2 kB / 0.52 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3809, allocations: 0 / 0.52 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3809, allocations: 0 / 0.52 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3809, allocations: 2.844 kB / 0.52 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003418/0.3812, allocations: 350.7 kB / 0.5203 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3813, allocations: 6.906 kB / 0.5203 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.055e-05/0.3813, allocations: 12.22 kB / 0.5203 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3813, allocations: 0 / 0.5203 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.3813, allocations: 0 / 0.5203 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.3813, allocations: 14.5 kB / 0.5204 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3814, allocations: 0 / 0.5204 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.3818, allocations: 0.7649 MB / 0.5211 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.677e-05/0.3818, allocations: 83.95 kB / 0.5212 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.3818, allocations: 0 / 0.5212 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.261e-05/0.3819, allocations: 6.188 kB / 0.5212 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.382, allocations: 5.938 kB / 0.5212 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.382, allocations: 2.906 kB / 0.5212 GB, free: 32.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.137e-05/0.3821, allocations: 118.7 kB / 0.5213 GB, free: 32.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3821, allocations: 0 / 0.5213 GB, free: 32.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003211/0.3824, allocations: 16.78 kB / 0.5213 GB, free: 32.81 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008499/0.3832, allocations: 400.4 kB / 0.5217 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.3834, allocations: 46.11 kB / 0.5218 GB, free: 32.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3835, allocations: 3.938 kB / 0.5218 GB, free: 32.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.185e-05/0.3835, allocations: 31.36 kB / 0.5218 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.3839, allocations: 28.75 kB / 0.5218 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004114/0.3843, allocations: 307.2 kB / 0.5221 GB, free: 32.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.3844, allocations: 0.7005 MB / 0.5228 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.758e-05/0.3845, allocations: 11.89 kB / 0.5228 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.3845, allocations: 10.25 kB / 0.5228 GB, free: 31.59 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3845, allocations: 6.438 kB / 0.5228 GB, free: 31.58 MB / 378.7 MB Notification: Performance of Templates: time 0.003417/0.388, allocations: 1.093 MB / 0.5239 GB, free: 31.44 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches