Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001539/0.001539, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001738/0.001738, allocations: 202 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.587/1.587, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.288/0.288, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 75.89 kB / 481.4 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4609/0.4625, allocations: 62.43 MB / 0.5311 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003778/0.4663, allocations: 1.74 MB / 0.5328 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.4687, allocations: 1.017 MB / 0.5338 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.4688, allocations: 1.375 kB / 0.5338 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003463/0.4692, allocations: 38.77 kB / 0.5338 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000346/0.4695, allocations: 99.03 kB / 0.5339 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.4698, allocations: 82.91 kB / 0.534 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.47, allocations: 102.3 kB / 0.5341 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.4702, allocations: 9.5 kB / 0.5341 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.4703, allocations: 52.22 kB / 0.5341 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.4704, allocations: 34.78 kB / 0.5342 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.4704, allocations: 4.125 kB / 0.5342 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.4706, allocations: 39.48 kB / 0.5342 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.396e-05/0.4707, allocations: 26.72 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.85e-05/0.4707, allocations: 32 kB / 0.5343 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.4711, allocations: 120.1 kB / 0.5344 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.4711, allocations: 0 / 0.5344 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4711, allocations: 1.375 kB / 0.5344 GB, free: 11.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.4711, allocations: 0 / 0.5344 GB, free: 11.29 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.0007781/0.4719, allocations: 420.8 kB / 0.5348 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.472, allocations: 9.188 kB / 0.5348 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.955e-05/0.472, allocations: 10.34 kB / 0.5348 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.4724, allocations: 216.6 kB / 0.535 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.241e-05/0.4725, allocations: 9.453 kB / 0.535 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.4725, allocations: 6.25 kB / 0.535 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.4727, allocations: 54.48 kB / 0.5351 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.4728, allocations: 3.906 kB / 0.5351 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.4728, allocations: 5.062 kB / 0.5351 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.4728, allocations: 1.062 kB / 0.5351 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.631e-05/0.4729, allocations: 17.92 kB / 0.5351 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/0.4734, allocations: 287.7 kB / 0.5354 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.4736, allocations: 61.7 kB / 0.5354 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.38e-05/0.4737, allocations: 21.39 kB / 0.5354 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.4737, allocations: 1.031 kB / 0.5354 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.4739, allocations: 69.11 kB / 0.5355 GB, free: 10.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.4739, allocations: 0 / 0.5355 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006967/0.4746, allocations: 170.3 kB / 0.5357 GB, free: 10.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.4747, allocations: 52.69 kB / 0.5357 GB, free: 9.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.475, allocations: 200 kB / 0.5359 GB, free: 9.805 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.475, allocations: 26.89 kB / 0.5359 GB, free: 9.773 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.967e-05/0.4751, allocations: 109.6 kB / 0.536 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.224e-05/0.4752, allocations: 27.06 kB / 0.5361 GB, free: 9.645 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.804e-05/0.4752, allocations: 25.06 kB / 0.5361 GB, free: 9.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.4754, allocations: 326.2 kB / 0.5364 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.843e-05/0.4755, allocations: 23.27 kB / 0.5364 GB, free: 9.285 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.529e-05/0.4756, allocations: 43.3 kB / 0.5365 GB, free: 9.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.4757, allocations: 55.47 kB / 0.5365 GB, free: 9.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.4757, allocations: 0 / 0.5365 GB, free: 9.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002282/0.476, allocations: 106.9 kB / 0.5366 GB, free: 9.145 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.476, allocations: 8.594 kB / 0.5366 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.476, allocations: 1.062 kB / 0.5366 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.476, allocations: 1.094 kB / 0.5366 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.4762, allocations: 20.83 kB / 0.5367 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.4762, allocations: 9.312 kB / 0.5367 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.885e-05/0.4762, allocations: 5.438 kB / 0.5367 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.4763, allocations: 6.562 kB / 0.5367 GB, free: 9.121 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.0001302/0.4764, allocations: 122.9 kB / 0.5368 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.4764, allocations: 10.34 kB / 0.5368 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.602e-05/0.4765, allocations: 17.83 kB / 0.5368 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.4765, allocations: 1.125 kB / 0.5368 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.4765, allocations: 1.031 kB / 0.5368 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.4766, allocations: 7.938 kB / 0.5368 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005562/0.4771, allocations: 398.4 kB / 0.5372 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4771, allocations: 1 kB / 0.5372 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.592e-05/0.4772, allocations: 7.281 kB / 0.5372 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.4772, allocations: 1.094 kB / 0.5372 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.4772, allocations: 10.19 kB / 0.5372 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.4772, allocations: 384 / 0.5372 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4772, allocations: 5.203 kB / 0.5372 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.4775, allocations: 200.3 kB / 0.5374 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.4776, allocations: 92.33 kB / 0.5375 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.4776, allocations: 10.19 kB / 0.5375 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.794e-05/0.4777, allocations: 1.531 kB / 0.5375 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.4777, allocations: 7.484 kB / 0.5375 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.4777, allocations: 3.531 kB / 0.5375 GB, free: 8.281 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001586/0.4779, allocations: 156.6 kB / 0.5377 GB, free: 8.168 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4779, allocations: 0 / 0.5377 GB, free: 8.168 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.4782, allocations: 24.69 kB / 0.5377 GB, free: 8.16 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.001188/0.4794, allocations: 460.1 kB / 0.5381 GB, free: 7.926 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.4796, allocations: 65.34 kB / 0.5382 GB, free: 7.895 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4796, allocations: 0 / 0.5382 GB, free: 7.895 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.185e-05/0.4797, allocations: 34.27 kB / 0.5382 GB, free: 7.879 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.4801, allocations: 31.19 kB / 0.5383 GB, free: 7.867 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006348/0.4807, allocations: 226.6 kB / 0.5385 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.4812, allocations: 0.7068 MB / 0.5392 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.555e-05/0.4812, allocations: 14.47 kB / 0.5392 GB, free: 6.965 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.4813, allocations: 14.34 kB / 0.5392 GB, free: 6.961 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4813, allocations: 1.094 kB / 0.5392 GB, free: 6.961 MB / 398.1 MB Notification: Performance of Templates: time 0.005174/0.4865, allocations: 1.735 MB / 0.5409 GB, free: 6.082 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches