Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001663/0.001663, allocations: 105.1 kB / 21.22 MB, free: 0.5117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00188/0.00188, allocations: 209.9 kB / 24.54 MB, free: 3.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 230.3 MB / 258 MB, free: 8.207 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2337/0.2337, allocations: 46.89 MB / 361.3 MB, free: 4.434 MB / 286.1 MB " [Timeout remaining time 180] 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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00253/0.00253, allocations: 83.86 kB / 0.4971 GB, free: 7.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3774, allocations: 66.02 MB / 0.5616 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003554/0.3809, allocations: 1.756 MB / 0.5633 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.3829, allocations: 1.041 MB / 0.5643 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.991e-05/0.383, allocations: 3.938 kB / 0.5643 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003496/0.3834, allocations: 47.77 kB / 0.5644 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.3837, allocations: 99.59 kB / 0.5645 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.3839, allocations: 87.59 kB / 0.5646 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.3841, allocations: 99.69 kB / 0.5646 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3842, allocations: 8 kB / 0.5647 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.3843, allocations: 47.77 kB / 0.5647 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.56e-05/0.3844, allocations: 31.8 kB / 0.5647 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.3844, allocations: 4 kB / 0.5647 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.882e-05/0.3845, allocations: 39.98 kB / 0.5648 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.481e-05/0.3846, allocations: 31.91 kB / 0.5648 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.771e-05/0.3846, allocations: 35.69 kB / 0.5648 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.3849, allocations: 134 kB / 0.565 GB, free: 1.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3849, allocations: 0 / 0.565 GB, free: 1.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3849, allocations: 0 / 0.565 GB, free: 1.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3849, allocations: 0 / 0.565 GB, free: 1.121 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.0005937/0.3855, allocations: 349.5 kB / 0.5653 GB, free: 0.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.3856, allocations: 12.03 kB / 0.5653 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.3856, allocations: 8.891 kB / 0.5653 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.3859, allocations: 158.3 kB / 0.5655 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.3859, allocations: 4.375 kB / 0.5655 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.3859, allocations: 8.312 kB / 0.5655 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.3861, allocations: 61.92 kB / 0.5655 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.3861, allocations: 0 / 0.5655 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.3861, allocations: 0 / 0.5655 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.3861, allocations: 0 / 0.5655 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.56e-05/0.3862, allocations: 19.98 kB / 0.5656 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/0.3866, allocations: 267.9 kB / 0.5658 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.3868, allocations: 58.61 kB / 0.5659 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.984e-05/0.3868, allocations: 20.84 kB / 0.5659 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.3869, allocations: 3.938 kB / 0.5659 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.3871, allocations: 75.39 kB / 0.566 GB, free: 15.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.3871, allocations: 0 / 0.566 GB, free: 15.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006248/0.3877, allocations: 177.3 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.3877, allocations: 55.41 kB / 0.5662 GB, free: 15.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.388, allocations: 210.7 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.388, allocations: 29.7 kB / 0.5664 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.581e-05/0.3881, allocations: 112.1 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.3881, allocations: 23.84 kB / 0.5665 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.3882, allocations: 25.72 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3883, allocations: 326.8 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.369e-05/0.3884, allocations: 23.98 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.019e-05/0.3885, allocations: 41.64 kB / 0.5669 GB, free: 14.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.3886, allocations: 53.78 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3886, allocations: 7.984 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001885/0.3888, allocations: 105.5 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3888, allocations: 6.031 kB / 0.5671 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3888, allocations: 0 / 0.5671 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3888, allocations: 0 / 0.5671 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.259e-05/0.3889, allocations: 19.98 kB / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.3889, allocations: 0 / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.111e-05/0.389, allocations: 0 / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.389, allocations: 4 kB / 0.5671 GB, free: 14.7 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.0001297/0.3891, allocations: 143 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.3891, allocations: 11.91 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.3894, allocations: 119 kB / 0.5674 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3894, allocations: 4 kB / 0.5674 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3894, allocations: 3.938 kB / 0.5674 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3894, allocations: 0 / 0.5674 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.3898, allocations: 366.3 kB / 0.5678 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3898, allocations: 4.031 kB / 0.5678 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.417e-05/0.3899, allocations: 11.98 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3899, allocations: 0 / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.3899, allocations: 4 kB / 0.5678 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.3899, allocations: 7.875 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3899, allocations: 0 / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.3902, allocations: 200.5 kB / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.813e-05/0.3902, allocations: 11.95 kB / 0.568 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.3902, allocations: 12.3 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.215e-05/0.3903, allocations: 7.938 kB / 0.568 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.3903, allocations: 7.984 kB / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.3903, allocations: 8 kB / 0.568 GB, free: 13.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000153/0.3905, allocations: 152.3 kB / 0.5682 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3905, allocations: 0 / 0.5682 GB, free: 13.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.3908, allocations: 24 kB / 0.5682 GB, free: 13.53 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.001724/0.3925, allocations: 463.4 kB / 0.5686 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.3927, allocations: 51.97 kB / 0.5687 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3927, allocations: 0 / 0.5687 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.518e-05/0.3928, allocations: 31.98 kB / 0.5687 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.3931, allocations: 27.55 kB / 0.5687 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005076/0.3936, allocations: 242.7 kB / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.394, allocations: 0.7041 MB / 0.5696 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.145e-05/0.394, allocations: 17.34 kB / 0.5697 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.3941, allocations: 19.42 kB / 0.5697 GB, free: 12.1 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3941, allocations: 3.938 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB Notification: Performance of Templates: time 0.005278/0.3993, allocations: 1.783 MB / 0.5714 GB, free: 10.33 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.106147733516991]