Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001609/0.001609, allocations: 114.9 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001789/0.00179, allocations: 205.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2273/0.2273, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 80.09 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.4393, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.00334/0.4427, allocations: 1.61 MB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.4446, allocations: 1.156 MB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.965e-05/0.4447, allocations: 0 / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.445, allocations: 33.28 kB / 0.5337 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003194/0.4453, allocations: 85.73 kB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.4457, allocations: 106.1 kB / 0.5339 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.4458, allocations: 67.33 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.4459, allocations: 14.8 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.982e-05/0.446, allocations: 29.48 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.4462, allocations: 31.72 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.4462, allocations: 4.125 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.4464, allocations: 103.2 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.384e-05/0.4464, allocations: 20.28 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/0.4465, allocations: 19.94 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.4467, allocations: 147 kB / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4468, allocations: 0.9688 kB / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4468, allocations: 0 / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.4468, allocations: 0 / 0.5343 GB, free: 11.03 MB / 398.1 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.0005282/0.4473, allocations: 392.8 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.4474, allocations: 8.875 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.4474, allocations: 12.62 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.4476, allocations: 191.3 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.4477, allocations: 5.469 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.4477, allocations: 1.469 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.4479, allocations: 72.77 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.4479, allocations: 1.344 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4479, allocations: 0 / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.4479, allocations: 1.312 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.448, allocations: 29.36 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004291/0.4484, allocations: 280.1 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.4487, allocations: 56.44 kB / 0.5353 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.562e-05/0.4488, allocations: 11.67 kB / 0.5354 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.4488, allocations: 1.156 kB / 0.5354 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.4488, allocations: 43.67 kB / 0.5354 GB, free: 9.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.4488, allocations: 0 / 0.5354 GB, free: 9.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000714/0.4496, allocations: 146.5 kB / 0.5355 GB, free: 9.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.591e-05/0.4496, allocations: 78.3 kB / 0.5356 GB, free: 9.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.4498, allocations: 142.1 kB / 0.5357 GB, free: 9.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.4499, allocations: 33.7 kB / 0.5358 GB, free: 9.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.4499, allocations: 91.69 kB / 0.5359 GB, free: 9.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.45, allocations: 26.08 kB / 0.5359 GB, free: 9.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.45, allocations: 18.69 kB / 0.5359 GB, free: 9.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4502, allocations: 325 kB / 0.5362 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.03e-05/0.4502, allocations: 19.48 kB / 0.5362 GB, free: 9.105 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.503e-05/0.4503, allocations: 36.61 kB / 0.5363 GB, free: 9.078 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.4505, allocations: 59.09 kB / 0.5363 GB, free: 9.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4505, allocations: 0 / 0.5363 GB, free: 9.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002086/0.4507, allocations: 83.77 kB / 0.5364 GB, free: 8.988 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.4508, allocations: 5.062 kB / 0.5364 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4508, allocations: 0 / 0.5364 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.4508, allocations: 5.25 kB / 0.5364 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-05/0.4509, allocations: 13.23 kB / 0.5364 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4509, allocations: 5.406 kB / 0.5364 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.4509, allocations: 10.64 kB / 0.5364 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.451, allocations: 5.312 kB / 0.5365 GB, free: 8.965 MB / 398.1 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 9.966e-05/0.4511, allocations: 115.3 kB / 0.5366 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.4511, allocations: 2.75 kB / 0.5366 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.4514, allocations: 104.7 kB / 0.5367 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4514, allocations: 4 kB / 0.5367 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4514, allocations: 1.25 kB / 0.5367 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4514, allocations: 0 / 0.5367 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.4519, allocations: 363 kB / 0.537 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.4519, allocations: 1 kB / 0.537 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.792e-05/0.452, allocations: 16.89 kB / 0.537 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.452, allocations: 1.281 kB / 0.537 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.452, allocations: 0 / 0.537 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.452, allocations: 5.188 kB / 0.537 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.452, allocations: 4 kB / 0.537 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.4523, allocations: 179 kB / 0.5372 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.516e-05/0.4524, allocations: 78.67 kB / 0.5373 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.4524, allocations: 5.719 kB / 0.5373 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.4525, allocations: 11.02 kB / 0.5373 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.4525, allocations: 5.594 kB / 0.5373 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.4525, allocations: 10.44 kB / 0.5373 GB, free: 8.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.4526, allocations: 116 kB / 0.5374 GB, free: 8.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4527, allocations: 0 / 0.5374 GB, free: 8.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.453, allocations: 40.59 kB / 0.5375 GB, free: 8.004 MB / 398.1 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.001217/0.4542, allocations: 0.4898 MB / 0.5379 GB, free: 7.742 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002468/0.4544, allocations: 54.98 kB / 0.538 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4545, allocations: 1.031 kB / 0.538 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.227e-05/0.4546, allocations: 33.11 kB / 0.538 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.4549, allocations: 18.92 kB / 0.5381 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004521/0.4554, allocations: 173.5 kB / 0.5382 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.4557, allocations: 0.69 MB / 0.5389 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.393e-05/0.4558, allocations: 21.14 kB / 0.5389 GB, free: 6.832 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/0.4559, allocations: 18.52 kB / 0.5389 GB, free: 6.824 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4559, allocations: 0 / 0.5389 GB, free: 6.824 MB / 398.1 MB Notification: Performance of Templates: time 0.005404/0.4613, allocations: 1.776 MB / 0.5407 GB, free: 5.895 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches