Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.001906/0.001906, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002444/0.002444, allocations: 213.9 kB / 24.48 MB, free: 3.836 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.549/1.549, allocations: 230.5 MB / 258.1 MB, free: 7.777 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.2297/0.2297, allocations: 46.96 MB / 361.6 MB, free: 3.914 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002614/0.002614, allocations: 79.88 kB / 0.4974 GB, free: 6.965 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.348, allocations: 66.09 MB / 0.562 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.004067/0.3521, allocations: 1.743 MB / 0.5637 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.3541, allocations: 0.9632 MB / 0.5646 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.3542, allocations: 11.88 kB / 0.5646 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003981/0.3546, allocations: 107.7 kB / 0.5647 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004582/0.3551, allocations: 127.5 kB / 0.5649 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.3553, allocations: 83.66 kB / 0.5649 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.3556, allocations: 135.6 kB / 0.5651 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3557, allocations: 7.984 kB / 0.5651 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.3559, allocations: 67.75 kB / 0.5651 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.356, allocations: 71.8 kB / 0.5652 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.356, allocations: 4 kB / 0.5652 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.3562, allocations: 63.97 kB / 0.5653 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.153e-05/0.3563, allocations: 31.86 kB / 0.5653 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.076e-05/0.3563, allocations: 39.72 kB / 0.5653 GB, free: 480 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.3566, allocations: 157.7 kB / 0.5655 GB, free: 328 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.3566, allocations: 0 / 0.5655 GB, free: 328 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3566, allocations: 0 / 0.5655 GB, free: 328 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.3567, allocations: 0 / 0.5655 GB, free: 328 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007247/0.3574, allocations: 397.2 kB / 0.5659 GB, free: 15.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3574, allocations: 8.031 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.948e-05/0.3575, allocations: 20.84 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.3578, allocations: 163.2 kB / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.3578, allocations: 4.359 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.3579, allocations: 8.312 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.3581, allocations: 73.97 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3581, allocations: 0 / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3581, allocations: 0 / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3581, allocations: 0 / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.3582, allocations: 35.97 kB / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004566/0.3587, allocations: 264.4 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.359, allocations: 86.47 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.356e-05/0.359, allocations: 24.84 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.3591, allocations: 3.938 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.3593, allocations: 83.41 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.774e-06/0.3593, allocations: 0 / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009128/0.3602, allocations: 285.2 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/0.3602, allocations: 59.39 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.3605, allocations: 267.8 kB / 0.5672 GB, free: 14.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.3606, allocations: 29.7 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.591e-05/0.3607, allocations: 112.1 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/0.3607, allocations: 39.69 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.3608, allocations: 25.72 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3609, allocations: 334.8 kB / 0.5677 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.689e-05/0.361, allocations: 35.98 kB / 0.5678 GB, free: 13.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.3611, allocations: 57.69 kB / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.3613, allocations: 93.58 kB / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3613, allocations: 4 kB / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002884/0.3616, allocations: 141.6 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3616, allocations: 4 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3616, allocations: 7.938 kB / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3616, allocations: 0 / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.434e-05/0.3617, allocations: 23.98 kB / 0.5681 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3617, allocations: 0 / 0.5681 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.514e-05/0.3618, allocations: 7.953 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.3618, allocations: 7.984 kB / 0.5681 GB, free: 13.47 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 (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.0001502/0.362, allocations: 141.8 kB / 0.5682 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.362, allocations: 15.91 kB / 0.5682 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003808/0.3624, allocations: 179.6 kB / 0.5684 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.3624, allocations: 11.98 kB / 0.5684 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3624, allocations: 0 / 0.5684 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3624, allocations: 0 / 0.5684 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000666/0.3631, allocations: 435.6 kB / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3631, allocations: 0 / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.695e-05/0.3631, allocations: 19.94 kB / 0.5689 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.3631, allocations: 8.062 kB / 0.5689 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.3631, allocations: 4 kB / 0.5689 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.3632, allocations: 7.938 kB / 0.5689 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.3632, allocations: 3.984 kB / 0.5689 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003555/0.3635, allocations: 261.1 kB / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.3636, allocations: 19.89 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.3636, allocations: 4 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.407e-05/0.3637, allocations: 7.938 kB / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.3637, allocations: 11.97 kB / 0.5692 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.3637, allocations: 8 kB / 0.5692 GB, free: 12.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000207/0.3639, allocations: 205.5 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3639, allocations: 0 / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000302/0.3642, allocations: 35.92 kB / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.002183/0.3664, allocations: 0.5303 MB / 0.5699 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003069/0.3667, allocations: 99.77 kB / 0.57 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3667, allocations: 0 / 0.57 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.3669, allocations: 44.05 kB / 0.5701 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.3673, allocations: 38.47 kB / 0.5701 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008472/0.3681, allocations: 374.1 kB / 0.5705 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/0.3683, allocations: 110.6 kB / 0.5706 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.3683, allocations: 19.44 kB / 0.5706 GB, free: 10.98 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3683, allocations: 0 / 0.5706 GB, free: 10.98 MB / 414.1 MB Notification: Performance of Templates: time 0.005245/0.3736, allocations: 2.486 MB / 0.573 GB, free: 8.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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: 8.310604894068092]