Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001125/0.001125, allocations: 121.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001115/0.001115, allocations: 212.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2144/0.2144, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 79.86 kB / 482.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3291, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003022/0.3322, allocations: 1.733 MB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.334, allocations: 1.022 MB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.549e-05/0.3341, allocations: 5.312 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004363/0.3345, allocations: 45.7 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003416/0.3349, allocations: 107.1 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.3351, allocations: 78.92 kB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.3353, allocations: 100.9 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.3355, allocations: 10.86 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.3356, allocations: 44.28 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.3357, allocations: 37.42 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.3357, allocations: 4.125 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.3359, allocations: 44.8 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.768e-05/0.3359, allocations: 30.89 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.84e-05/0.336, allocations: 41.31 kB / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.3364, allocations: 144.8 kB / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3364, allocations: 0 / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3364, allocations: 0 / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3364, allocations: 0 / 0.5351 GB, free: 11.02 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.0006729/0.3371, allocations: 441.7 kB / 0.5355 GB, free: 10.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.3371, allocations: 13.61 kB / 0.5355 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.446e-05/0.3372, allocations: 15.62 kB / 0.5355 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.3376, allocations: 228.1 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.3376, allocations: 1.75 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.3377, allocations: 10.81 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3378, allocations: 58.81 kB / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.3379, allocations: 0 / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3379, allocations: 3.938 kB / 0.5358 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3379, allocations: 5.375 kB / 0.5358 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.297e-05/0.338, allocations: 17.77 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.3384, allocations: 303.9 kB / 0.5361 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.3386, allocations: 54.16 kB / 0.5362 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.849e-05/0.3387, allocations: 20.56 kB / 0.5362 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.3387, allocations: 5.219 kB / 0.5362 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.3388, allocations: 69.3 kB / 0.5363 GB, free: 9.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.3389, allocations: 0 / 0.5363 GB, free: 9.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006118/0.3395, allocations: 177 kB / 0.5365 GB, free: 9.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.3395, allocations: 56.69 kB / 0.5365 GB, free: 9.637 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.3398, allocations: 271.7 kB / 0.5368 GB, free: 9.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.3398, allocations: 34.8 kB / 0.5368 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.3399, allocations: 110.9 kB / 0.5369 GB, free: 9.316 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.3399, allocations: 28.2 kB / 0.5369 GB, free: 9.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.34, allocations: 20.53 kB / 0.537 GB, free: 9.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.3401, allocations: 335.2 kB / 0.5373 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.029e-05/0.3402, allocations: 19.22 kB / 0.5373 GB, free: 8.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.392e-05/0.3403, allocations: 35.05 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.3404, allocations: 64.02 kB / 0.5374 GB, free: 8.863 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.3404, allocations: 0 / 0.5374 GB, free: 8.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001943/0.3406, allocations: 108.3 kB / 0.5375 GB, free: 8.793 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.3406, allocations: 5.406 kB / 0.5375 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.3407, allocations: 1.281 kB / 0.5375 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3407, allocations: 1.719 kB / 0.5375 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.946e-05/0.3408, allocations: 16.59 kB / 0.5375 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3408, allocations: 5.156 kB / 0.5375 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.207e-05/0.3408, allocations: 14.11 kB / 0.5375 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.3409, allocations: 2.938 kB / 0.5375 GB, free: 8.773 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.0001067/0.341, allocations: 132.5 kB / 0.5377 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.341, allocations: 15.91 kB / 0.5377 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.167e-05/0.3411, allocations: 21.16 kB / 0.5377 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3411, allocations: 1.125 kB / 0.5377 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3411, allocations: 0 / 0.5377 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.3411, allocations: 9.016 kB / 0.5377 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004919/0.3416, allocations: 420.4 kB / 0.5381 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3416, allocations: 0 / 0.5381 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.3417, allocations: 7.438 kB / 0.5381 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3417, allocations: 1.312 kB / 0.5381 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.3417, allocations: 10.25 kB / 0.5381 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3417, allocations: 1.438 kB / 0.5381 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3417, allocations: 3.938 kB / 0.5381 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.3419, allocations: 202.5 kB / 0.5383 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.342, allocations: 92.56 kB / 0.5384 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.342, allocations: 5.156 kB / 0.5384 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.35e-05/0.3421, allocations: 2.156 kB / 0.5384 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.3421, allocations: 7.078 kB / 0.5384 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.3422, allocations: 3.812 kB / 0.5384 GB, free: 7.918 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.3423, allocations: 203.4 kB / 0.5386 GB, free: 7.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3424, allocations: 0 / 0.5386 GB, free: 7.793 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.3426, allocations: 29.36 kB / 0.5386 GB, free: 7.781 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.001155/0.3438, allocations: 464.7 kB / 0.5391 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002394/0.344, allocations: 62.84 kB / 0.5392 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3441, allocations: 0 / 0.5392 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.403e-05/0.3441, allocations: 25.22 kB / 0.5392 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.3445, allocations: 41.62 kB / 0.5392 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005481/0.3451, allocations: 316.5 kB / 0.5395 GB, free: 7.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.3454, allocations: 0.7205 MB / 0.5402 GB, free: 6.531 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.3455, allocations: 19.27 kB / 0.5402 GB, free: 6.52 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3455, allocations: 0 / 0.5402 GB, free: 6.52 MB / 398.1 MB Notification: Performance of Templates: time 0.004293/0.3498, allocations: 2.128 MB / 0.5423 GB, free: 5.41 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches