Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001199/0.001205, 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.001155/0.001155, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, 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.2359/0.2359, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002436/0.002436, allocations: 76.16 kB / 481.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4658/0.4682, allocations: 62.43 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.00312/0.4714, allocations: 1.729 MB / 0.5328 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.4732, allocations: 1.025 MB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.035e-05/0.4733, allocations: 0 / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003524/0.4737, allocations: 45.52 kB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.474, allocations: 99.09 kB / 0.5339 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.4742, allocations: 76.3 kB / 0.534 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.4744, allocations: 108.9 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.4746, allocations: 6.875 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.4747, allocations: 46.84 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.462e-05/0.4748, allocations: 34.78 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.4748, allocations: 8.062 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.4749, allocations: 39.48 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.421e-05/0.475, allocations: 26.8 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.056e-05/0.475, allocations: 35.98 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.4753, allocations: 124 kB / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.4753, allocations: 3.984 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.4753, allocations: 2.094 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.4753, allocations: 0 / 0.5344 GB, free: 11.05 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.0006204/0.4759, allocations: 428.4 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.476, allocations: 9.875 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.628e-05/0.476, allocations: 9.922 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.4763, allocations: 221.3 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.4763, allocations: 2.031 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.4764, allocations: 6.344 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.4765, allocations: 54.17 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4765, allocations: 0 / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.4765, allocations: 0 / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4766, allocations: 1.844 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.911e-05/0.4766, allocations: 25.62 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.477, allocations: 300 kB / 0.5354 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.4772, allocations: 57.64 kB / 0.5355 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.4773, allocations: 18.33 kB / 0.5355 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.4773, allocations: 5.234 kB / 0.5355 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001384/0.4774, allocations: 72.33 kB / 0.5356 GB, free: 9.859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.016e-06/0.4775, allocations: 0 / 0.5356 GB, free: 9.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005578/0.478, allocations: 174.5 kB / 0.5357 GB, free: 9.758 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.4781, allocations: 57.73 kB / 0.5358 GB, free: 9.691 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.4783, allocations: 207.6 kB / 0.536 GB, free: 9.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.4783, allocations: 31.08 kB / 0.536 GB, free: 9.508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.897e-05/0.4784, allocations: 100.8 kB / 0.5361 GB, free: 9.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.4784, allocations: 20.42 kB / 0.5361 GB, free: 9.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/0.4785, allocations: 31.55 kB / 0.5361 GB, free: 9.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.4786, allocations: 327.2 kB / 0.5365 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.229e-05/0.4787, allocations: 22.7 kB / 0.5365 GB, free: 9.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.615e-05/0.4788, allocations: 36.22 kB / 0.5365 GB, free: 9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.4789, allocations: 62.56 kB / 0.5366 GB, free: 8.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4789, allocations: 4 kB / 0.5366 GB, free: 8.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002087/0.4791, allocations: 111.9 kB / 0.5367 GB, free: 8.879 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.4791, allocations: 5.406 kB / 0.5367 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4792, allocations: 1.062 kB / 0.5367 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.4792, allocations: 1.094 kB / 0.5367 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.4793, allocations: 16.62 kB / 0.5367 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.4793, allocations: 1.281 kB / 0.5367 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.96e-05/0.4794, allocations: 10.8 kB / 0.5367 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.4794, allocations: 2.938 kB / 0.5367 GB, free: 8.867 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.0001083/0.4795, allocations: 128 kB / 0.5368 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.4795, allocations: 17.39 kB / 0.5369 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.695e-05/0.4796, allocations: 14.47 kB / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4796, allocations: 1.281 kB / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4796, allocations: 1.219 kB / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.4796, allocations: 3.938 kB / 0.5369 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004625/0.4801, allocations: 394.9 kB / 0.5373 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4801, allocations: 1.281 kB / 0.5373 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.175e-05/0.4801, allocations: 10.94 kB / 0.5373 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.4801, allocations: 2.594 kB / 0.5373 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.4802, allocations: 13 kB / 0.5373 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.4802, allocations: 0 / 0.5373 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4802, allocations: 1.406 kB / 0.5373 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.4804, allocations: 204.7 kB / 0.5375 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.4805, allocations: 92 kB / 0.5376 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.4805, allocations: 5.406 kB / 0.5376 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-05/0.4806, allocations: 2.281 kB / 0.5376 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.4806, allocations: 7.672 kB / 0.5376 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.4806, allocations: 2.812 kB / 0.5376 GB, free: 8.023 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001394/0.4808, allocations: 163.3 kB / 0.5377 GB, free: 7.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4808, allocations: 0 / 0.5377 GB, free: 7.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.4811, allocations: 29.3 kB / 0.5378 GB, free: 7.898 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.001021/0.4821, allocations: 464.4 kB / 0.5382 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.4823, allocations: 58.66 kB / 0.5383 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4823, allocations: 0 / 0.5383 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.256e-05/0.4824, allocations: 33.83 kB / 0.5383 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.4827, allocations: 35.25 kB / 0.5383 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.4832, allocations: 234.8 kB / 0.5386 GB, free: 7.418 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.4835, allocations: 0.7106 MB / 0.5393 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.525e-05/0.4835, allocations: 21.83 kB / 0.5393 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.4836, allocations: 19.88 kB / 0.5393 GB, free: 6.676 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4836, allocations: 0 / 0.5393 GB, free: 6.676 MB / 398.1 MB Notification: Performance of Templates: time 0.004564/0.4882, allocations: 1.742 MB / 0.541 GB, free: 5.797 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches