Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001329/0.00133, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001323, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.544/1.544, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2683/0.2683, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 79.88 kB / 481.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5392/0.5406, allocations: 62.44 MB / 0.5311 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.004434/0.545, allocations: 1.731 MB / 0.5328 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002902/0.548, allocations: 1.022 MB / 0.5338 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.5482, allocations: 1.375 kB / 0.5338 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004147/0.5486, allocations: 38.77 kB / 0.5338 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004256/0.5491, allocations: 95.05 kB / 0.5339 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.5494, allocations: 82.91 kB / 0.534 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.5496, allocations: 102.3 kB / 0.5341 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.5498, allocations: 14.86 kB / 0.5341 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.5499, allocations: 48.28 kB / 0.5341 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.55, allocations: 29.42 kB / 0.5342 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.5501, allocations: 4.125 kB / 0.5342 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.5502, allocations: 43.47 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.631e-05/0.5503, allocations: 18.8 kB / 0.5342 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.837e-05/0.5504, allocations: 37.31 kB / 0.5343 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.5507, allocations: 118.8 kB / 0.5344 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5507, allocations: 5.375 kB / 0.5344 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5507, allocations: 0 / 0.5344 GB, free: 11.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.5507, allocations: 0 / 0.5344 GB, free: 11.28 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007299/0.5515, allocations: 417.1 kB / 0.5348 GB, free: 10.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.5515, allocations: 9.625 kB / 0.5348 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.805e-05/0.5516, allocations: 18.27 kB / 0.5348 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.552, allocations: 207.9 kB / 0.535 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.552, allocations: 10.58 kB / 0.535 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.5521, allocations: 10.38 kB / 0.535 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.5523, allocations: 57.67 kB / 0.5351 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.5523, allocations: 3.906 kB / 0.5351 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.5524, allocations: 1.094 kB / 0.5351 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.5524, allocations: 1.125 kB / 0.5351 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.5525, allocations: 17.61 kB / 0.5351 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.553, allocations: 287.3 kB / 0.5354 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.5532, allocations: 65.7 kB / 0.5354 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/0.5533, allocations: 21.94 kB / 0.5355 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.5533, allocations: 1.25 kB / 0.5355 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.5535, allocations: 69.36 kB / 0.5355 GB, free: 10.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.5535, allocations: 0 / 0.5355 GB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006972/0.5542, allocations: 178.8 kB / 0.5357 GB, free: 9.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.5543, allocations: 51.41 kB / 0.5357 GB, free: 9.926 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.5546, allocations: 196.6 kB / 0.5359 GB, free: 9.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.5546, allocations: 26.77 kB / 0.536 GB, free: 9.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.542e-05/0.5547, allocations: 102 kB / 0.536 GB, free: 9.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.33e-05/0.5548, allocations: 27.11 kB / 0.5361 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.5549, allocations: 24.47 kB / 0.5361 GB, free: 9.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.5551, allocations: 326.3 kB / 0.5364 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-05/0.5551, allocations: 26.95 kB / 0.5364 GB, free: 9.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.802e-05/0.5552, allocations: 39.39 kB / 0.5365 GB, free: 9.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.5554, allocations: 51.12 kB / 0.5365 GB, free: 9.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.5554, allocations: 0 / 0.5365 GB, free: 9.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002385/0.5556, allocations: 108.3 kB / 0.5366 GB, free: 9.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.5557, allocations: 4.469 kB / 0.5366 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.5557, allocations: 5.281 kB / 0.5366 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.5557, allocations: 1.156 kB / 0.5366 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.5558, allocations: 16.58 kB / 0.5366 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.5558, allocations: 5.188 kB / 0.5367 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.011e-05/0.5559, allocations: 6.094 kB / 0.5367 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.5559, allocations: 7.281 kB / 0.5367 GB, free: 9.113 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001351/0.5561, allocations: 129.5 kB / 0.5368 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.5561, allocations: 8.844 kB / 0.5368 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.421e-05/0.5562, allocations: 18.97 kB / 0.5368 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.5562, allocations: 5 kB / 0.5368 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.5562, allocations: 0 / 0.5368 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.5562, allocations: 4.906 kB / 0.5368 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000571/0.5568, allocations: 402.4 kB / 0.5372 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5568, allocations: 0 / 0.5372 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-05/0.5569, allocations: 8.031 kB / 0.5372 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.5569, allocations: 1.219 kB / 0.5372 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.5569, allocations: 10.03 kB / 0.5372 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.5569, allocations: 8.391 kB / 0.5372 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5569, allocations: 0.9062 kB / 0.5372 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.5572, allocations: 200.9 kB / 0.5374 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.267e-05/0.5573, allocations: 88.42 kB / 0.5375 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.5573, allocations: 13.88 kB / 0.5375 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.957e-05/0.5574, allocations: 1.875 kB / 0.5375 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.5575, allocations: 11.67 kB / 0.5375 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.5575, allocations: 2.938 kB / 0.5375 GB, free: 8.258 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001664/0.5577, allocations: 153.2 kB / 0.5377 GB, free: 8.148 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5577, allocations: 0 / 0.5377 GB, free: 8.148 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.5579, allocations: 25.06 kB / 0.5377 GB, free: 8.141 MB / 398.1 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 (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.001309/0.5593, allocations: 462.5 kB / 0.5382 GB, free: 7.902 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000302/0.5596, allocations: 54.77 kB / 0.5382 GB, free: 7.883 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.5596, allocations: 0 / 0.5382 GB, free: 7.883 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.947e-05/0.5597, allocations: 33.11 kB / 0.5382 GB, free: 7.867 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.5601, allocations: 30.44 kB / 0.5383 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006956/0.5608, allocations: 231 kB / 0.5385 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.5612, allocations: 0.7015 MB / 0.5392 GB, free: 6.965 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.801e-05/0.5613, allocations: 18.98 kB / 0.5392 GB, free: 6.949 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.85e-05/0.5614, allocations: 15.31 kB / 0.5392 GB, free: 6.945 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5614, allocations: 0 / 0.5392 GB, free: 6.945 MB / 398.1 MB Notification: Performance of Templates: time 0.005973/0.5674, allocations: 1.739 MB / 0.5409 GB, free: 6.062 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches