Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.0009312/0.0009312, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001482/0.001482, allocations: 166.3 kB / 24.91 MB, free: 8.77 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.9951/0.9951, allocations: 177 MB / 205.2 MB, free: 5.078 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.2528/0.2528, allocations: 34.86 MB / 296.6 MB, free: 488 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 326 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.909e-05/3.064e-05, allocations: 4.609 kB / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002772/0.002803, allocations: 1.96 MB / 328 MB, free: 5.137 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.004268, allocations: 1.041 MB / 329 MB, free: 4.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.913e-05/0.004357, allocations: 0 / 329 MB, free: 4.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.004617, allocations: 51.59 kB / 329 MB, free: 4.039 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.004881, allocations: 103.4 kB / 329.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.005074, allocations: 99.56 kB / 329.2 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.005239, allocations: 148.3 kB / 329.4 MB, free: 3.695 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.687e-05/0.005326, allocations: 22.45 kB / 329.4 MB, free: 3.672 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.996e-05/0.005426, allocations: 83.73 kB / 329.5 MB, free: 3.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.814e-05/0.005504, allocations: 39.83 kB / 329.5 MB, free: 3.551 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.005518, allocations: 4 kB / 329.5 MB, free: 3.547 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.384e-05/0.005592, allocations: 47.92 kB / 329.6 MB, free: 3.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.745e-05/0.00564, allocations: 35.84 kB / 329.6 MB, free: 3.465 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.005679, allocations: 27.92 kB / 329.6 MB, free: 3.438 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.005851, allocations: 135.4 kB / 329.8 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.005853, allocations: 0 / 329.8 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005853, allocations: 3.938 kB / 329.8 MB, free: 3.301 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.005857, allocations: 0 / 329.8 MB, free: 3.301 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003972/0.006254, allocations: 375.1 kB / 330.1 MB, free: 2.906 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.006284, allocations: 8.031 kB / 330.2 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.00632, allocations: 20.92 kB / 330.2 MB, free: 2.879 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.006477, allocations: 170.3 kB / 330.3 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.006493, allocations: 8.375 kB / 330.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.006513, allocations: 12.33 kB / 330.4 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.006647, allocations: 130 kB / 330.5 MB, free: 2.512 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.006654, allocations: 192 / 330.5 MB, free: 2.512 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.006662, allocations: 4.375 kB / 330.5 MB, free: 2.508 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.006669, allocations: 7.938 kB / 330.5 MB, free: 2.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.509e-05/0.006704, allocations: 22.75 kB / 330.5 MB, free: 2.477 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.007, allocations: 378.1 kB / 330.9 MB, free: 2.082 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.007143, allocations: 101.3 kB / 331 MB, free: 1.973 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.544e-05/0.007169, allocations: 24.78 kB / 331 MB, free: 1.945 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.007179, allocations: 0 / 331 MB, free: 1.945 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.978e-05/0.007268, allocations: 99.84 kB / 331.1 MB, free: 1.828 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.00727, allocations: 0 / 331.1 MB, free: 1.828 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001152/0.007385, allocations: 73.59 kB / 331.2 MB, free: 1.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.007411, allocations: 59.41 kB / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.007517, allocations: 189.6 kB / 331.4 MB, free: 1.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.007532, allocations: 29.7 kB / 331.5 MB, free: 1.445 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.326e-05/0.007575, allocations: 108 kB / 331.6 MB, free: 1.336 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.007592, allocations: 31.77 kB / 331.6 MB, free: 1.305 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.007623, allocations: 21.72 kB / 331.6 MB, free: 1.277 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.632e-05/0.0077, allocations: 334.8 kB / 331.9 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.007717, allocations: 10.83 kB / 331.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.508e-05/0.007752, allocations: 49.64 kB / 332 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.443e-05/0.007817, allocations: 73.84 kB / 332.1 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.007818, allocations: 0 / 332.1 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.507e-05/0.007903, allocations: 93 kB / 332.2 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.007914, allocations: 11.98 kB / 332.2 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.007919, allocations: 0 / 332.2 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.00793, allocations: 4 kB / 332.2 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.451e-05/0.007985, allocations: 16 kB / 332.2 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.007987, allocations: 128 / 332.2 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.067e-05/0.008028, allocations: 23.88 kB / 332.2 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-06/0.008035, allocations: 4 kB / 332.2 MB, free: 0.6172 MB / 298.7 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 6.043e-05/0.008095, allocations: 117.9 kB / 332.3 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.008109, allocations: 19.92 kB / 332.4 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.241e-05/0.008201, allocations: 89.67 kB / 332.4 MB, free: 388 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.008203, allocations: 0 / 332.4 MB, free: 388 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.008205, allocations: 0 / 332.4 MB, free: 388 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.008208, allocations: 0 / 332.4 MB, free: 388 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.129e-05/0.008289, allocations: 97.8 kB / 332.5 MB, free: 272 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.00829, allocations: 4 kB / 332.5 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.899e-05/0.008329, allocations: 12 kB / 332.6 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.008331, allocations: 3.938 kB / 332.6 MB, free: 252 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.008338, allocations: 4 kB / 332.6 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.008341, allocations: 4 kB / 332.6 MB, free: 244 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.008343, allocations: 7.984 kB / 332.6 MB, free: 236 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.008452, allocations: 110.7 kB / 332.7 MB, free: 104 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.008467, allocations: 19.84 kB / 332.7 MB, free: 84 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.008481, allocations: 3.938 kB / 332.7 MB, free: 80 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.494e-05/0.008506, allocations: 7.984 kB / 332.7 MB, free: 72 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/0.008529, allocations: 12.02 kB / 332.7 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.008538, allocations: 4 kB / 332.7 MB, free: 56 kB / 298.7 MB Notification: Performance of sorting global known variables: time 5.851e-05/0.008596, allocations: 56.56 kB / 332.8 MB, free: 15.99 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008596, allocations: 0 / 332.8 MB, free: 15.99 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001302/0.008727, allocations: 24 kB / 332.8 MB, free: 15.97 MB / 314.7 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 (10): * Single equations (assignments): 8 * 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.001679/0.01041, allocations: 0.4926 MB / 333.3 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001588/0.01056, allocations: 56.56 kB / 333.4 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.01057, allocations: 8.25 kB / 333.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.96e-05/0.01061, allocations: 32.77 kB / 333.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.0108, allocations: 31.97 kB / 333.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/0.01117, allocations: 249.8 kB / 333.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.395e-05/0.0112, allocations: 71.83 kB / 333.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.322e-05/0.01124, allocations: 17.47 kB / 333.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.756e-05/0.01132, allocations: 79.36 kB / 333.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of SimCode: time 1.182e-06/0.01132, allocations: 0 / 333.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of Templates: time 0.003778/0.0151, allocations: 2.195 MB / 336 MB, free: 12.98 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.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.9529341300949454]