Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002275/0.002275, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.547/1.547, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3458/0.3458, allocations: 34.27 MB / 295.3 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/2.977e-05, allocations: 2.312 kB / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003708/0.003738, allocations: 1.716 MB / 379.1 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.005826, allocations: 0.9815 MB / 380.1 MB, free: 168 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.005932, allocations: 7.938 kB / 380.1 MB, free: 160 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.006259, allocations: 51.69 kB / 380.1 MB, free: 108 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004138/0.006672, allocations: 95.55 kB / 380.2 MB, free: 12 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.006973, allocations: 79.59 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.007214, allocations: 115.6 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.007317, allocations: 7.984 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.007446, allocations: 47.91 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.007557, allocations: 27.84 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.00758, allocations: 4 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.007707, allocations: 47.92 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.224e-05/0.007779, allocations: 27.92 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.105e-05/0.00784, allocations: 23.91 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.008125, allocations: 127.5 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.008128, allocations: 0 / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.008129, allocations: 0 / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.008134, allocations: 0 / 380.7 MB, free: 15.51 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007156/0.00885, allocations: 357.5 kB / 381.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.008887, allocations: 8.031 kB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.893e-05/0.008956, allocations: 16.84 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.009273, allocations: 162.4 kB / 381.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.009288, allocations: 384 / 381.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.009319, allocations: 8.312 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.009502, allocations: 62.16 kB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.009516, allocations: 3.938 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.009526, allocations: 0 / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.009531, allocations: 0 / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.767e-05/0.009619, allocations: 19.98 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.01004, allocations: 232.6 kB / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.01024, allocations: 66.61 kB / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.9e-05/0.01031, allocations: 24.78 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.01033, allocations: 0 / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.01052, allocations: 71.34 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.01052, allocations: 0 / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006493/0.01117, allocations: 185.6 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.01122, allocations: 55.41 kB / 382 MB, free: 14.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.01152, allocations: 239.6 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.01154, allocations: 29.7 kB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.953e-05/0.01163, allocations: 112.1 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.01167, allocations: 27.83 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.01173, allocations: 21.72 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.01191, allocations: 326.8 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.246e-05/0.01198, allocations: 27.92 kB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.719e-05/0.01206, allocations: 33.7 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.01221, allocations: 73.77 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.01221, allocations: 0 / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002558/0.01247, allocations: 113.5 kB / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.01249, allocations: 8.031 kB / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.01249, allocations: 0 / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.01251, allocations: 0 / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.01262, allocations: 19.98 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.01263, allocations: 3.938 kB / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.01e-05/0.01268, allocations: 0 / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.01269, allocations: 4 kB / 383 MB, free: 13.06 MB / 362.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 0.0001425/0.01283, allocations: 137.7 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.01287, allocations: 15.91 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003015/0.01317, allocations: 131.1 kB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.01317, allocations: 0 / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.01318, allocations: 0 / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.01319, allocations: 3.938 kB / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005496/0.01374, allocations: 358.9 kB / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.01374, allocations: 3.984 kB / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.084e-05/0.01379, allocations: 11.98 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.0138, allocations: 0 / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.01381, allocations: 8 kB / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01381, allocations: 0 / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01381, allocations: 4.031 kB / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.01415, allocations: 224.2 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.234e-05/0.01417, allocations: 7.953 kB / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.01419, allocations: 0 / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.217e-05/0.01427, allocations: 8 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.01432, allocations: 7.984 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.01434, allocations: 0 / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001959/0.01453, allocations: 183.2 kB / 384.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01453, allocations: 0 / 384.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002801/0.01481, allocations: 27.94 kB / 384.1 MB, free: 11.88 MB / 362.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.002243/0.01706, allocations: 0.4902 MB / 384.6 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.01727, allocations: 55.92 kB / 384.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01727, allocations: 0 / 384.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.466e-05/0.01735, allocations: 32.2 kB / 384.7 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.01773, allocations: 40 kB / 384.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005697/0.01829, allocations: 276.9 kB / 385 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.01842, allocations: 104.7 kB / 385.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.786e-05/0.01848, allocations: 17.03 kB / 385.1 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/0.01852, allocations: 16.5 kB / 385.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of SimCode: time 3.6e-07/0.01852, allocations: 0 / 385.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of Templates: time 0.00546/0.02398, allocations: 1.883 MB / 387 MB, free: 9.156 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.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: 4.780837517930195]