Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.001303/0.001303, allocations: 105.4 kB / 19.81 MB, free: 2.516 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.001433/0.001433, allocations: 215.3 kB / 23 MB, free: 5.609 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.472/1.472, allocations: 230.2 MB / 256.2 MB, free: 8.559 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.2515/0.2515, allocations: 46.92 MB / 359.4 MB, free: 4.867 MB / 286.1 MB " [Timeout remaining time 179] 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 75.88 kB / 0.4947 GB, free: 8.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3333, allocations: 65.99 MB / 0.5591 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003364/0.3367, allocations: 1.963 MB / 0.5611 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.3385, allocations: 1.088 MB / 0.5621 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.3386, allocations: 7.938 kB / 0.5621 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.339, allocations: 43.7 kB / 0.5622 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00033/0.3393, allocations: 99.53 kB / 0.5623 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.3395, allocations: 107.6 kB / 0.5624 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.3398, allocations: 143.5 kB / 0.5625 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.3399, allocations: 24.22 kB / 0.5625 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.34, allocations: 59.7 kB / 0.5626 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.3401, allocations: 51.72 kB / 0.5626 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.3401, allocations: 8 kB / 0.5626 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.3402, allocations: 47.97 kB / 0.5627 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.874e-05/0.3403, allocations: 27.91 kB / 0.5627 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.056e-05/0.3404, allocations: 47.62 kB / 0.5628 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002775/0.3407, allocations: 159 kB / 0.5629 GB, free: 1.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3407, allocations: 8 kB / 0.5629 GB, free: 1.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3407, allocations: 0 / 0.5629 GB, free: 1.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.3407, allocations: 0 / 0.5629 GB, free: 1.148 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007383/0.3414, allocations: 488.1 kB / 0.5634 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.3414, allocations: 8.031 kB / 0.5634 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.219e-05/0.3415, allocations: 16.84 kB / 0.5634 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.3418, allocations: 237.7 kB / 0.5636 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.3418, allocations: 12.38 kB / 0.5636 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.3419, allocations: 4.375 kB / 0.5637 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.3421, allocations: 112.5 kB / 0.5638 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3421, allocations: 3.938 kB / 0.5638 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.3421, allocations: 4 kB / 0.5638 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3421, allocations: 0 / 0.5638 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.3423, allocations: 47.97 kB / 0.5638 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006278/0.3429, allocations: 0.5049 MB / 0.5643 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.3433, allocations: 82.67 kB / 0.5644 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.857e-05/0.3434, allocations: 36.83 kB / 0.5644 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.3434, allocations: 7.938 kB / 0.5644 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.3436, allocations: 79.31 kB / 0.5645 GB, free: 15.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.3436, allocations: 0 / 0.5645 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004138/0.344, allocations: 149.8 kB / 0.5646 GB, free: 15.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.344, allocations: 51.5 kB / 0.5647 GB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.3443, allocations: 211 kB / 0.5649 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.3443, allocations: 25.7 kB / 0.5649 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.795e-05/0.3444, allocations: 124 kB / 0.565 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.3444, allocations: 27.75 kB / 0.5651 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/0.3445, allocations: 29.7 kB / 0.5651 GB, free: 14.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3446, allocations: 326.8 kB / 0.5654 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.551e-05/0.3447, allocations: 31.98 kB / 0.5654 GB, free: 14.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.3448, allocations: 64.2 kB / 0.5655 GB, free: 14.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.345, allocations: 104.2 kB / 0.5656 GB, free: 14.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.345, allocations: 0 / 0.5656 GB, free: 14.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002794/0.3453, allocations: 133.4 kB / 0.5657 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3453, allocations: 4 kB / 0.5657 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.3453, allocations: 4 kB / 0.5657 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3453, allocations: 0 / 0.5657 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.3455, allocations: 32.05 kB / 0.5658 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.3455, allocations: 0 / 0.5658 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.376e-05/0.3455, allocations: 19.89 kB / 0.5658 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3455, allocations: 4 kB / 0.5658 GB, free: 13.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001137/0.3457, allocations: 125.8 kB / 0.5659 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.3457, allocations: 15.91 kB / 0.5659 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003016/0.346, allocations: 123.1 kB / 0.566 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.346, allocations: 4.094 kB / 0.566 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.346, allocations: 11.94 kB / 0.5661 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.346, allocations: 3.938 kB / 0.5661 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.3462, allocations: 213.5 kB / 0.5663 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3462, allocations: 0 / 0.5663 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.963e-05/0.3463, allocations: 15.92 kB / 0.5663 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3463, allocations: 4 kB / 0.5663 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.3463, allocations: 4 kB / 0.5663 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3463, allocations: 0 / 0.5663 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3463, allocations: 0 / 0.5663 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.3467, allocations: 188.8 kB / 0.5665 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.345e-05/0.3468, allocations: 92.98 kB / 0.5666 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.3468, allocations: 4 kB / 0.5666 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.583e-05/0.3469, allocations: 8 kB / 0.5666 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.3469, allocations: 7.922 kB / 0.5666 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.3469, allocations: 4 kB / 0.5666 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.3471, allocations: 152.5 kB / 0.5667 GB, free: 12.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3471, allocations: 0 / 0.5667 GB, free: 12.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002408/0.3473, allocations: 27.92 kB / 0.5667 GB, free: 12.84 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.00151/0.3488, allocations: 404 kB / 0.5671 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002597/0.3491, allocations: 79.78 kB / 0.5672 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3491, allocations: 0 / 0.5672 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.3492, allocations: 40.22 kB / 0.5672 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.3495, allocations: 35.11 kB / 0.5673 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005519/0.35, allocations: 287.2 kB / 0.5676 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.3504, allocations: 0.7162 MB / 0.5683 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.23e-05/0.3504, allocations: 25.41 kB / 0.5683 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.3505, allocations: 15.44 kB / 0.5683 GB, free: 11.35 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3505, allocations: 0 / 0.5683 GB, free: 11.35 MB / 414.1 MB Notification: Performance of Templates: time 0.006122/0.3566, allocations: 1.932 MB / 0.5702 GB, free: 9.434 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.394777970388532]