Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.0009529/0.0009529, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001009/0.001009, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 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 0.972/0.972, allocations: 177 MB / 205.2 MB, free: 5.035 MB / 186.7 MB " [Timeout remaining time 179] 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.3076/0.3076, allocations: 34.86 MB / 296.6 MB, free: 476 kB / 266.7 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 326 MB, free: 7.031 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.4e-05/1.538e-05, allocations: 9.266 kB / 326.1 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002151/0.002166, allocations: 1.81 MB / 327.9 MB, free: 5.199 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.003468, allocations: 1.002 MB / 328.9 MB, free: 4.191 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.494e-05/0.003533, allocations: 8 kB / 328.9 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.003787, allocations: 51.69 kB / 328.9 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.004003, allocations: 99.47 kB / 329 MB, free: 4.035 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.004132, allocations: 71.67 kB / 329.1 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.004282, allocations: 116.4 kB / 329.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.249e-05/0.004355, allocations: 7.984 kB / 329.2 MB, free: 3.844 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.854e-05/0.004433, allocations: 55.83 kB / 329.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.685e-05/0.0045, allocations: 27.91 kB / 329.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.004514, allocations: 4 kB / 329.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.226e-05/0.004586, allocations: 47.86 kB / 329.3 MB, free: 3.711 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.557e-05/0.004632, allocations: 35.84 kB / 329.4 MB, free: 3.676 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.004663, allocations: 19.88 kB / 329.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.004832, allocations: 111.6 kB / 329.5 MB, free: 3.547 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.004833, allocations: 0 / 329.5 MB, free: 3.547 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004834, allocations: 0 / 329.5 MB, free: 3.547 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.004838, allocations: 0 / 329.5 MB, free: 3.547 MB / 298.7 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.0003967/0.005234, allocations: 357.2 kB / 329.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.005266, allocations: 8.031 kB / 329.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.0053, allocations: 16.86 kB / 329.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.00546, allocations: 154.4 kB / 330 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.005477, allocations: 8.375 kB / 330 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.005493, allocations: 4.359 kB / 330 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.005604, allocations: 65.77 kB / 330.1 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.005615, allocations: 192 / 330.1 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.005622, allocations: 384 / 330.1 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.005629, allocations: 3.938 kB / 330.1 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.535e-05/0.005654, allocations: 12 kB / 330.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.005868, allocations: 166 kB / 330.3 MB, free: 2.691 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.239e-05/0.00595, allocations: 85.28 kB / 330.4 MB, free: 2.598 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.00597, allocations: 16.84 kB / 330.4 MB, free: 2.578 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.005981, allocations: 3.984 kB / 330.4 MB, free: 2.574 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.303e-05/0.006064, allocations: 62.22 kB / 330.4 MB, free: 2.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.006065, allocations: 0 / 330.4 MB, free: 2.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002812/0.006347, allocations: 121.5 kB / 330.6 MB, free: 2.375 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.006376, allocations: 59.41 kB / 330.6 MB, free: 2.305 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.006504, allocations: 212 kB / 330.8 MB, free: 2.082 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.006516, allocations: 29.64 kB / 330.9 MB, free: 2.047 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.102e-05/0.006547, allocations: 96.11 kB / 331 MB, free: 1.949 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.006574, allocations: 31.77 kB / 331 MB, free: 1.918 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.006601, allocations: 17.72 kB / 331 MB, free: 1.895 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.48e-05/0.006676, allocations: 334.8 kB / 331.3 MB, free: 1.559 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.459e-05/0.006691, allocations: 10.83 kB / 331.3 MB, free: 1.547 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.271e-05/0.006714, allocations: 25.7 kB / 331.4 MB, free: 1.516 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.893e-05/0.006752, allocations: 36.89 kB / 331.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.006753, allocations: 4 kB / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.341e-05/0.006827, allocations: 72.44 kB / 331.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.006839, allocations: 13.34 kB / 331.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.006844, allocations: 4 kB / 331.5 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.006856, allocations: 0 / 331.5 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.046e-05/0.006916, allocations: 23.86 kB / 331.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.006919, allocations: 4 kB / 331.5 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.637e-05/0.006946, allocations: 4 kB / 331.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.006951, allocations: 4 kB / 331.5 MB, free: 1.34 MB / 298.7 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 6.221e-05/0.007014, allocations: 124.7 kB / 331.6 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.007025, allocations: 7.938 kB / 331.7 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.007133, allocations: 83.06 kB / 331.7 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.007135, allocations: 0 / 331.7 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.007136, allocations: 0 / 331.7 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.007139, allocations: 0 / 331.7 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.007355, allocations: 307.6 kB / 332 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.007358, allocations: 3.938 kB / 332 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-05/0.007383, allocations: 8 kB / 332.1 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.007386, allocations: 0 / 332.1 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-06/0.007391, allocations: 8.031 kB / 332.1 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.007393, allocations: 0 / 332.1 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.007394, allocations: 0 / 332.1 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.007505, allocations: 219 kB / 332.3 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.421e-05/0.00752, allocations: 15.84 kB / 332.3 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.007536, allocations: 4 kB / 332.3 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.392e-05/0.00758, allocations: 7.984 kB / 332.3 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.007607, allocations: 4 kB / 332.3 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.00762, allocations: 7.984 kB / 332.3 MB, free: 496 kB / 298.7 MB Notification: Performance of sorting global known variables: time 6.146e-05/0.007681, allocations: 69.02 kB / 332.4 MB, free: 424 kB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007681, allocations: 4 kB / 332.4 MB, free: 420 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001424/0.007824, allocations: 27.94 kB / 332.4 MB, free: 392 kB / 298.7 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.001458/0.009281, allocations: 0.564 MB / 333 MB, free: 104 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.009388, allocations: 48.78 kB / 333 MB, free: 52 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.009392, allocations: 0 / 333 MB, free: 52 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.568e-05/0.009428, allocations: 24.8 kB / 333 MB, free: 24 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.009661, allocations: 39.52 kB / 333.1 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003733/0.01003, allocations: 260.4 kB / 333.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.101e-05/0.01009, allocations: 75.33 kB / 333.4 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.638e-05/0.01012, allocations: 21.39 kB / 333.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.01018, allocations: 63.38 kB / 333.5 MB, free: 15.53 MB / 314.7 MB Notification: Performance of SimCode: time 6.42e-07/0.01018, allocations: 0 / 333.5 MB, free: 15.53 MB / 314.7 MB Notification: Performance of Templates: time 0.003473/0.01366, allocations: 2.035 MB / 335.5 MB, free: 13.52 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9999289186671376]