Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.001127/0.001127, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001219/0.001219, allocations: 166.1 kB / 24.82 MB, free: 9.258 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 1.043/1.043, allocations: 177 MB / 205.1 MB, free: 5.492 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.2799/0.2799, allocations: 34.86 MB / 296.6 MB, free: 0.5078 MB / 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.514e-06/2.514e-06, allocations: 0 / 379.3 MB, free: 1.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.947e-05, allocations: 6.312 kB / 379.3 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003991/0.004021, allocations: 1.95 MB / 381.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.006007, allocations: 1.032 MB / 382.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.00617, allocations: 7.938 kB / 382.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.006537, allocations: 51.56 kB / 382.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004267/0.006964, allocations: 99.47 kB / 382.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.007279, allocations: 99.58 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.007544, allocations: 147.5 kB / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.007659, allocations: 25.78 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.00782, allocations: 71.83 kB / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.007943, allocations: 43.81 kB / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.007968, allocations: 8 kB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.00809, allocations: 47.92 kB / 382.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.307e-05/0.008173, allocations: 27.84 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.008234, allocations: 27.92 kB / 382.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.00857, allocations: 127.4 kB / 383.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.008575, allocations: 0 / 383.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.008576, allocations: 4 kB / 383.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.008582, allocations: 0 / 383.1 MB, free: 13.98 MB / 362.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.0007974/0.00938, allocations: 0.5129 MB / 383.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.009423, allocations: 8.031 kB / 383.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.589e-05/0.009489, allocations: 28.8 kB / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.009722, allocations: 161.2 kB / 383.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.009744, allocations: 8.375 kB / 383.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.00977, allocations: 4.375 kB / 383.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.01, allocations: 143.6 kB / 383.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.01001, allocations: 192 / 383.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.01003, allocations: 4.375 kB / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.01004, allocations: 11.92 kB / 383.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.435e-05/0.01009, allocations: 27.98 kB / 384 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004943/0.01059, allocations: 0.5449 MB / 384.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.01078, allocations: 75.02 kB / 384.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.696e-05/0.01082, allocations: 27.67 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.01083, allocations: 0 / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001257/0.01096, allocations: 98.73 kB / 384.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.01096, allocations: 4 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002179/0.01118, allocations: 101.5 kB / 384.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.01121, allocations: 59.41 kB / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.01139, allocations: 247 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.0114, allocations: 25.7 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.599e-05/0.01149, allocations: 162.8 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.01152, allocations: 35.72 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/0.01158, allocations: 39.3 kB / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.01172, allocations: 0.4962 MB / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.239e-05/0.01175, allocations: 11.98 kB / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.002e-05/0.01181, allocations: 58.42 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.311e-05/0.01191, allocations: 82.34 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01191, allocations: 3.938 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001628/0.01207, allocations: 101.5 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.01209, allocations: 11.98 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.01209, allocations: 8.062 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.01211, allocations: 4 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.01221, allocations: 19.94 kB / 386.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.01222, allocations: 0 / 386.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.751e-05/0.01227, allocations: 19.92 kB / 386.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.01228, allocations: 0 / 386.2 MB, free: 10.58 MB / 362.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 9.14e-05/0.01237, allocations: 168.5 kB / 386.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.0124, allocations: 23.91 kB / 386.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.01257, allocations: 95.12 kB / 386.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.01257, allocations: 4 kB / 386.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.01257, allocations: 7.938 kB / 386.5 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.01258, allocations: 0 / 386.5 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.01271, allocations: 137.1 kB / 386.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01271, allocations: 0 / 386.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.973e-05/0.01278, allocations: 11.98 kB / 386.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.01278, allocations: 7.938 kB / 386.6 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.01279, allocations: 4 kB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.0128, allocations: 0 / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.0128, allocations: 0 / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.013, allocations: 144.2 kB / 386.8 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.01303, allocations: 27.81 kB / 386.8 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.01305, allocations: 0 / 386.8 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.254e-05/0.0131, allocations: 7.984 kB / 386.8 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.01314, allocations: 11.98 kB / 386.8 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.01315, allocations: 4 kB / 386.8 MB, free: 9.879 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.38e-05/0.01325, allocations: 163.1 kB / 387 MB, free: 9.719 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01325, allocations: 0 / 387 MB, free: 9.719 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002527/0.0135, allocations: 31.98 kB / 387 MB, free: 9.688 MB / 362.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.00108/0.01458, allocations: 386.3 kB / 387.4 MB, free: 9.418 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.01472, allocations: 59.58 kB / 387.4 MB, free: 9.355 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01472, allocations: 0 / 387.4 MB, free: 9.355 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.221e-05/0.01477, allocations: 31.86 kB / 387.5 MB, free: 9.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.01505, allocations: 43.72 kB / 387.5 MB, free: 9.281 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004506/0.0155, allocations: 253.9 kB / 387.8 MB, free: 9.008 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.352e-05/0.01554, allocations: 71.83 kB / 387.8 MB, free: 8.918 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.315e-05/0.01561, allocations: 21.48 kB / 387.9 MB, free: 8.895 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.01571, allocations: 98.17 kB / 388 MB, free: 8.797 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01571, allocations: 4 kB / 388 MB, free: 8.793 MB / 362.7 MB Notification: Performance of Templates: time 0.005208/0.02092, allocations: 2.243 MB / 390.2 MB, free: 6.586 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.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: 3.125828079879284]