Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001769/0.001769, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002133/0.002133, allocations: 218.2 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 230.2 MB / 256.8 MB, free: 8.629 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2288/0.2288, allocations: 46.89 MB / 359.9 MB, free: 4.969 MB / 286.1 MB [Timeout remaining time 90] 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 79.86 kB / 0.4951 GB, free: 8.586 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3765, allocations: 65.99 MB / 0.5595 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003529/0.3801, allocations: 1.736 MB / 0.5612 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.3821, allocations: 1.026 MB / 0.5622 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.084e-05/0.3822, allocations: 0 / 0.5622 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003984/0.3826, allocations: 91.62 kB / 0.5623 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003814/0.383, allocations: 119.5 kB / 0.5624 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.3832, allocations: 75.73 kB / 0.5625 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.3834, allocations: 115.7 kB / 0.5626 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3835, allocations: 4 kB / 0.5626 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.3837, allocations: 59.77 kB / 0.5626 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.3838, allocations: 59.75 kB / 0.5627 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.3838, allocations: 8 kB / 0.5627 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.3839, allocations: 43.98 kB / 0.5628 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.515e-05/0.384, allocations: 27.89 kB / 0.5628 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.009e-05/0.3841, allocations: 47.62 kB / 0.5628 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.3843, allocations: 117.9 kB / 0.5629 GB, free: 1.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3843, allocations: 0 / 0.5629 GB, free: 1.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3843, allocations: 0 / 0.5629 GB, free: 1.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.3843, allocations: 0 / 0.5629 GB, free: 1.613 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.0006578/0.385, allocations: 434.5 kB / 0.5634 GB, free: 1.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.385, allocations: 12.03 kB / 0.5634 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.3851, allocations: 16.84 kB / 0.5634 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/0.3854, allocations: 220.1 kB / 0.5636 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.3854, allocations: 4.375 kB / 0.5636 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.3854, allocations: 4.125 kB / 0.5636 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.3856, allocations: 57.61 kB / 0.5637 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3856, allocations: 0 / 0.5637 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.3857, allocations: 3.984 kB / 0.5637 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.3857, allocations: 4 kB / 0.5637 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.098e-05/0.3857, allocations: 23.98 kB / 0.5637 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.3862, allocations: 284.9 kB / 0.564 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.3864, allocations: 62.61 kB / 0.564 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.561e-05/0.3864, allocations: 20.78 kB / 0.564 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.3864, allocations: 4 kB / 0.564 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.3866, allocations: 63.39 kB / 0.5641 GB, free: 264 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3866, allocations: 0 / 0.5641 GB, free: 264 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006861/0.3873, allocations: 189.3 kB / 0.5643 GB, free: 68 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/0.3873, allocations: 55.39 kB / 0.5643 GB, free: 0 / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.3876, allocations: 220.3 kB / 0.5645 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.3876, allocations: 29.7 kB / 0.5646 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.3877, allocations: 108.1 kB / 0.5647 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.3877, allocations: 27.78 kB / 0.5647 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.3878, allocations: 25.72 kB / 0.5647 GB, free: 15.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3879, allocations: 326.8 kB / 0.565 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.561e-05/0.388, allocations: 24.36 kB / 0.5651 GB, free: 15.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.027e-05/0.3881, allocations: 41.58 kB / 0.5651 GB, free: 15.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.3882, allocations: 57.7 kB / 0.5652 GB, free: 15.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3882, allocations: 4 kB / 0.5652 GB, free: 15.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002143/0.3884, allocations: 105.5 kB / 0.5653 GB, free: 14.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3884, allocations: 4 kB / 0.5653 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3884, allocations: 4 kB / 0.5653 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3885, allocations: 0 / 0.5653 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.697e-05/0.3886, allocations: 15.98 kB / 0.5653 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3886, allocations: 0 / 0.5653 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.161e-05/0.3886, allocations: 7.938 kB / 0.5653 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.3886, allocations: 8.031 kB / 0.5653 GB, free: 14.95 MB / 414.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.0001275/0.3887, allocations: 129.8 kB / 0.5654 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.3888, allocations: 15.91 kB / 0.5654 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.3891, allocations: 115 kB / 0.5655 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3891, allocations: 4 kB / 0.5656 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3891, allocations: 0 / 0.5656 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3891, allocations: 3.938 kB / 0.5656 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005474/0.3896, allocations: 399.3 kB / 0.5659 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3896, allocations: 0 / 0.5659 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.168e-05/0.3896, allocations: 8 kB / 0.5659 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3897, allocations: 4 kB / 0.5659 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.3897, allocations: 7.938 kB / 0.566 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.3897, allocations: 7.922 kB / 0.566 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3897, allocations: 192 / 0.566 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.3899, allocations: 208.6 kB / 0.5662 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-05/0.39, allocations: 89 kB / 0.5662 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.39, allocations: 7.938 kB / 0.5663 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.724e-05/0.3901, allocations: 0 / 0.5663 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.3901, allocations: 7.984 kB / 0.5663 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.3902, allocations: 4 kB / 0.5663 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.3903, allocations: 165.2 kB / 0.5664 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3903, allocations: 0 / 0.5664 GB, free: 13.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.3906, allocations: 31.88 kB / 0.5665 GB, free: 13.65 MB / 414.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.001798/0.3924, allocations: 461.3 kB / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.3926, allocations: 51.97 kB / 0.5669 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3926, allocations: 4.062 kB / 0.5669 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.535e-05/0.3926, allocations: 23.94 kB / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.393, allocations: 46.33 kB / 0.567 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000607/0.3936, allocations: 284.9 kB / 0.5673 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/0.394, allocations: 0.7119 MB / 0.568 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.53e-05/0.3941, allocations: 19.44 kB / 0.568 GB, free: 12.17 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3941, allocations: 0 / 0.568 GB, free: 12.17 MB / 414.1 MB Notification: Performance of Templates: time 0.004476/0.3986, allocations: 2.006 MB / 0.57 GB, free: 10.17 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches