Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.001844/0.001844, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001609/0.001609, allocations: 215.5 kB / 23.73 MB, free: 4.406 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.522/1.522, allocations: 230.5 MB / 257.4 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.2404/0.2404, allocations: 46.95 MB / 360.8 MB, free: 3.906 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002767/0.002767, allocations: 83.86 kB / 0.4967 GB, free: 6.957 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.416, allocations: 66.08 MB / 0.5612 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.004334/0.4203, allocations: 1.712 MB / 0.5629 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003365/0.4237, allocations: 1.664 MB / 0.5645 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.4238, allocations: 0 / 0.5645 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003712/0.4242, allocations: 43.7 kB / 0.5646 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004606/0.4247, allocations: 103.5 kB / 0.5647 GB, free: 400 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.4249, allocations: 79.67 kB / 0.5648 GB, free: 320 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.4251, allocations: 99.75 kB / 0.5648 GB, free: 220 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.4252, allocations: 7.984 kB / 0.5649 GB, free: 212 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.4253, allocations: 47.73 kB / 0.5649 GB, free: 164 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.4255, allocations: 43.77 kB / 0.5649 GB, free: 120 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.4255, allocations: 8 kB / 0.565 GB, free: 112 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.4257, allocations: 103.9 kB / 0.5651 GB, free: 8 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.901e-05/0.4258, allocations: 20.05 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.507e-05/0.4259, allocations: 35.72 kB / 0.5651 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003638/0.4263, allocations: 169.8 kB / 0.5653 GB, free: 15.79 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.4263, allocations: 0 / 0.5653 GB, free: 15.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4263, allocations: 0 / 0.5653 GB, free: 15.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.4263, allocations: 3.938 kB / 0.5653 GB, free: 15.79 MB / 414.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.0007825/0.4271, allocations: 349.5 kB / 0.5656 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.4271, allocations: 8.031 kB / 0.5656 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.029e-05/0.4272, allocations: 12.84 kB / 0.5656 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.4276, allocations: 154.9 kB / 0.5658 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.4276, allocations: 4.312 kB / 0.5658 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.35e-05/0.4276, allocations: 12.12 kB / 0.5658 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.4279, allocations: 93.09 kB / 0.5659 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.4279, allocations: 0 / 0.5659 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.4279, allocations: 0 / 0.5659 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.4279, allocations: 0 / 0.5659 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.684e-05/0.428, allocations: 23.92 kB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.4285, allocations: 232.5 kB / 0.5661 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.4287, allocations: 62.61 kB / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.146e-05/0.4287, allocations: 24.84 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.4288, allocations: 0 / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/0.429, allocations: 71.38 kB / 0.5663 GB, free: 14.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.429, allocations: 0 / 0.5663 GB, free: 14.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006796/0.4297, allocations: 185.5 kB / 0.5664 GB, free: 14.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.11e-05/0.4297, allocations: 77.11 kB / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.4299, allocations: 170.5 kB / 0.5667 GB, free: 14.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.43, allocations: 25.7 kB / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.889e-05/0.43, allocations: 96.14 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.4301, allocations: 35.67 kB / 0.5668 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.639e-05/0.4301, allocations: 25.72 kB / 0.5669 GB, free: 13.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.4303, allocations: 326.8 kB / 0.5672 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.64e-05/0.4304, allocations: 23.98 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.919e-05/0.4305, allocations: 68.27 kB / 0.5673 GB, free: 13.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.4306, allocations: 57.7 kB / 0.5673 GB, free: 13.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4306, allocations: 4 kB / 0.5673 GB, free: 13.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000217/0.4308, allocations: 109.7 kB / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.4309, allocations: 12 kB / 0.5674 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4309, allocations: 0 / 0.5674 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.4309, allocations: 0 / 0.5674 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.431, allocations: 15.94 kB / 0.5674 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.431, allocations: 4 kB / 0.5675 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.883e-05/0.4311, allocations: 8.172 kB / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.4311, allocations: 4 kB / 0.5675 GB, free: 13.32 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.0001578/0.4312, allocations: 125.7 kB / 0.5676 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.4313, allocations: 7.953 kB / 0.5676 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003165/0.4316, allocations: 122.3 kB / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.4316, allocations: 0 / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.4316, allocations: 0 / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.4316, allocations: 3.984 kB / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005495/0.4321, allocations: 350.9 kB / 0.568 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4321, allocations: 0 / 0.568 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.545e-05/0.4322, allocations: 15.98 kB / 0.5681 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.4322, allocations: 3.938 kB / 0.5681 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.4322, allocations: 0 / 0.5681 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.4322, allocations: 0 / 0.5681 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.4322, allocations: 11.97 kB / 0.5681 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.4325, allocations: 212.1 kB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.4326, allocations: 15.91 kB / 0.5683 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/0.4326, allocations: 4 kB / 0.5683 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.614e-05/0.4327, allocations: 0 / 0.5683 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/0.4327, allocations: 15.92 kB / 0.5683 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.4328, allocations: 7.938 kB / 0.5683 GB, free: 12.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.4329, allocations: 135.9 kB / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4329, allocations: 0 / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003414/0.4333, allocations: 47.88 kB / 0.5685 GB, free: 12.19 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 (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.002374/0.4356, allocations: 0.5701 MB / 0.5691 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002869/0.4359, allocations: 63.91 kB / 0.5691 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.4359, allocations: 0 / 0.5691 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.343e-05/0.436, allocations: 23.98 kB / 0.5691 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.4364, allocations: 38.56 kB / 0.5692 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006427/0.437, allocations: 206.7 kB / 0.5694 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.4372, allocations: 85.31 kB / 0.5695 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.835e-05/0.4373, allocations: 21.27 kB / 0.5695 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.549e-05/0.4373, allocations: 23.42 kB / 0.5695 GB, free: 11.32 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4373, allocations: 4 kB / 0.5695 GB, free: 11.31 MB / 414.1 MB Notification: Performance of Templates: time 0.007883/0.4452, allocations: 2.54 MB / 0.572 GB, free: 8.797 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.382544320076704]