Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00123/0.00123, allocations: 118.2 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.001293/0.001293, allocations: 201.2 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2181/0.2181, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 80.16 kB / 481.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4717/0.4732, allocations: 62.43 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003867/0.4771, allocations: 1.731 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.4791, allocations: 1.018 MB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.218e-05/0.4792, allocations: 5.312 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.4795, allocations: 37.39 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.4799, allocations: 95.09 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.4801, allocations: 82.92 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.4803, allocations: 104.9 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.4805, allocations: 6.875 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.4806, allocations: 44.28 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.816e-05/0.4807, allocations: 37.41 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.4807, allocations: 4.125 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.4809, allocations: 43.42 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.671e-05/0.481, allocations: 18.8 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.587e-05/0.481, allocations: 39.98 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.4813, allocations: 115.9 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4813, allocations: 1.375 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4813, allocations: 3.938 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.4814, 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.000702/0.4821, allocations: 415.5 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.4821, allocations: 9.125 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.465e-05/0.4822, allocations: 13.84 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.4826, allocations: 216.8 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.4826, allocations: 5.125 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.4826, allocations: 6.281 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.4828, allocations: 54.36 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.4828, allocations: 0 / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.4828, allocations: 1.219 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4829, allocations: 0 / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.949e-05/0.4829, allocations: 19.11 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.4834, allocations: 294.1 kB / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.4836, allocations: 65.81 kB / 0.5354 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.094e-05/0.4836, allocations: 21.56 kB / 0.5354 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.4837, allocations: 0.9062 kB / 0.5354 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.4838, allocations: 69.98 kB / 0.5355 GB, free: 9.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.4839, allocations: 4 kB / 0.5355 GB, free: 9.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006023/0.4845, allocations: 173.3 kB / 0.5357 GB, free: 9.762 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.4845, allocations: 56.47 kB / 0.5357 GB, free: 9.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.4847, allocations: 181.4 kB / 0.5359 GB, free: 9.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.4847, allocations: 30.83 kB / 0.5359 GB, free: 9.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.4848, allocations: 100.8 kB / 0.536 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.4849, allocations: 24.34 kB / 0.5361 GB, free: 9.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.236e-05/0.4849, allocations: 24.44 kB / 0.5361 GB, free: 9.379 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002581/0.4852, allocations: 326.3 kB / 0.5364 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.552e-05/0.4853, allocations: 22.17 kB / 0.5364 GB, free: 9.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.789e-05/0.4854, allocations: 36.02 kB / 0.5364 GB, free: 9.016 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.4855, allocations: 63 kB / 0.5365 GB, free: 8.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.4855, allocations: 0 / 0.5365 GB, free: 8.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000207/0.4857, allocations: 107.2 kB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.4857, allocations: 7.469 kB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4858, allocations: 1.812 kB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.4858, allocations: 1.469 kB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.4859, allocations: 20.48 kB / 0.5366 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.4859, allocations: 1.438 kB / 0.5366 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.4861, allocations: 14.31 kB / 0.5367 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.4861, allocations: 6.125 kB / 0.5367 GB, free: 8.879 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.0001195/0.4862, allocations: 128.6 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.4862, allocations: 9.359 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.403e-05/0.4863, allocations: 14.03 kB / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4863, allocations: 1.812 kB / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4863, allocations: 0 / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.4863, allocations: 3.938 kB / 0.5368 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005222/0.4869, allocations: 397.2 kB / 0.5372 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4869, allocations: 1.375 kB / 0.5372 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.408e-05/0.4869, allocations: 10.88 kB / 0.5372 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.4869, allocations: 5.344 kB / 0.5372 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.4869, allocations: 9.031 kB / 0.5372 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.487, allocations: 1.219 kB / 0.5372 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.487, allocations: 5.188 kB / 0.5372 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.4872, allocations: 196.2 kB / 0.5374 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/0.4873, allocations: 91.45 kB / 0.5375 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.4873, allocations: 9.969 kB / 0.5375 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.4874, allocations: 2.188 kB / 0.5375 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.4875, allocations: 6.984 kB / 0.5375 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.4875, allocations: 7.625 kB / 0.5375 GB, free: 8.035 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001684/0.4877, allocations: 136.3 kB / 0.5376 GB, free: 7.938 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4877, allocations: 0 / 0.5376 GB, free: 7.938 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.488, allocations: 28.73 kB / 0.5377 GB, free: 7.926 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.001314/0.4893, allocations: 458.5 kB / 0.5381 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002269/0.4895, allocations: 61.66 kB / 0.5382 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4895, allocations: 0 / 0.5382 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.442e-05/0.4896, allocations: 25.75 kB / 0.5382 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.49, allocations: 40.25 kB / 0.5382 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005278/0.4906, allocations: 214.3 kB / 0.5384 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.4909, allocations: 0.7014 MB / 0.5391 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.874e-05/0.491, allocations: 21.75 kB / 0.5391 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.491, allocations: 19.34 kB / 0.5392 GB, free: 6.723 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.491, allocations: 1.125 kB / 0.5392 GB, free: 6.723 MB / 398.1 MB Notification: Performance of Templates: time 0.005113/0.4962, allocations: 1.72 MB / 0.5408 GB, free: 5.855 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches