Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001032/0.001032, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001092/0.001092, allocations: 198 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.455/1.455, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2474/0.2474, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 76.2 kB / 481.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4661/0.4676, allocations: 62.44 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.004078/0.4717, allocations: 1.735 MB / 0.5328 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.4738, allocations: 1.02 MB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.474, allocations: 5.312 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003798/0.4744, allocations: 37.58 kB / 0.5338 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003943/0.4748, allocations: 99.03 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.475, allocations: 88.28 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.4753, allocations: 100.9 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.4755, allocations: 6.875 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.4756, allocations: 52.27 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.885e-05/0.4757, allocations: 29.42 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.4757, allocations: 4.125 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.4758, allocations: 40.86 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.811e-05/0.4759, allocations: 26.72 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.89e-05/0.476, allocations: 40 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.4763, allocations: 127.4 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.4763, allocations: 0 / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4763, allocations: 0 / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.4763, allocations: 1.375 kB / 0.5344 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000767/0.4771, allocations: 415 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.4771, allocations: 9.625 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.372e-05/0.4772, allocations: 14.25 kB / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.4777, allocations: 224.5 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.4777, allocations: 5.75 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.4777, allocations: 6.875 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.4779, allocations: 53.73 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.4779, allocations: 5.391 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.478, allocations: 0 / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.478, allocations: 1.781 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.731e-05/0.4781, allocations: 18.23 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004675/0.4785, allocations: 291.4 kB / 0.5354 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.4788, allocations: 57.3 kB / 0.5354 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.858e-05/0.4788, allocations: 21.47 kB / 0.5355 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.4789, allocations: 1.062 kB / 0.5355 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.479, allocations: 74.11 kB / 0.5355 GB, free: 9.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.863e-06/0.4791, allocations: 4 kB / 0.5355 GB, free: 9.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006543/0.4797, allocations: 174.4 kB / 0.5357 GB, free: 9.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.4798, allocations: 56.67 kB / 0.5358 GB, free: 9.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.4801, allocations: 203.6 kB / 0.536 GB, free: 9.535 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.4801, allocations: 30.83 kB / 0.536 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.4802, allocations: 108.8 kB / 0.5361 GB, free: 9.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.4802, allocations: 28.17 kB / 0.5361 GB, free: 9.371 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/0.4803, allocations: 24.45 kB / 0.5361 GB, free: 9.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4804, allocations: 334 kB / 0.5365 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.272e-05/0.4805, allocations: 19.23 kB / 0.5365 GB, free: 9.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.231e-05/0.4806, allocations: 35.89 kB / 0.5365 GB, free: 8.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.4808, allocations: 54.41 kB / 0.5366 GB, free: 8.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4808, allocations: 1.219 kB / 0.5366 GB, free: 8.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002648/0.481, allocations: 107.2 kB / 0.5367 GB, free: 8.875 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.4811, allocations: 8.094 kB / 0.5367 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.4811, allocations: 0 / 0.5367 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.4811, allocations: 1.188 kB / 0.5367 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.4812, allocations: 21.56 kB / 0.5367 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.4813, allocations: 1.125 kB / 0.5367 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.563e-05/0.4813, allocations: 10.08 kB / 0.5367 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.4813, allocations: 2.094 kB / 0.5367 GB, free: 8.859 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.0001454/0.4815, allocations: 125 kB / 0.5368 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.4815, allocations: 17.14 kB / 0.5368 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.856e-05/0.4816, allocations: 14.81 kB / 0.5369 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4816, allocations: 1.062 kB / 0.5369 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.4816, allocations: 1.031 kB / 0.5369 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.4816, allocations: 3.938 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005634/0.4822, allocations: 399.8 kB / 0.5372 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.4822, allocations: 0 / 0.5372 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.864e-05/0.4823, allocations: 8.469 kB / 0.5373 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.4823, allocations: 5.406 kB / 0.5373 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.4823, allocations: 5.438 kB / 0.5373 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4823, allocations: 384 / 0.5373 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/0.4823, allocations: 4.734 kB / 0.5373 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.4826, allocations: 209.5 kB / 0.5375 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.383e-05/0.4827, allocations: 88.42 kB / 0.5376 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.4827, allocations: 12.84 kB / 0.5376 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.928e-05/0.4828, allocations: 6.688 kB / 0.5376 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.4829, allocations: 6.859 kB / 0.5376 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.4829, allocations: 2.969 kB / 0.5376 GB, free: 8.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002/0.4831, allocations: 163.9 kB / 0.5377 GB, free: 7.895 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4831, allocations: 192 / 0.5377 GB, free: 7.895 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002925/0.4834, allocations: 21.3 kB / 0.5378 GB, free: 7.891 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.001216/0.4846, allocations: 459.4 kB / 0.5382 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.4849, allocations: 58.17 kB / 0.5382 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4849, allocations: 1.406 kB / 0.5383 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.485, allocations: 33.02 kB / 0.5383 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.4854, allocations: 54.78 kB / 0.5383 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000667/0.4861, allocations: 225 kB / 0.5385 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.4865, allocations: 0.7109 MB / 0.5392 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.369e-05/0.4866, allocations: 14.53 kB / 0.5393 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/0.4867, allocations: 20.44 kB / 0.5393 GB, free: 6.676 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4867, allocations: 0 / 0.5393 GB, free: 6.676 MB / 398.1 MB Notification: Performance of Templates: time 0.005193/0.4919, allocations: 1.739 MB / 0.541 GB, free: 5.797 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches