Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.001185/0.001185, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001261/0.001261, allocations: 170.1 kB / 24.91 MB, free: 8.723 MB / 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 0.9172/0.9172, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] 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.1511/0.1511, allocations: 34.26 MB / 296.1 MB, free: 13.98 MB / 282.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 325.3 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246e-05/1.404e-05, allocations: 5.266 kB / 325.3 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002234/0.002248, allocations: 1.954 MB / 327.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.003813, allocations: 1.04 MB / 328.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.109e-05/0.003894, allocations: 0 / 328.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.004177, allocations: 47.7 kB / 328.4 MB, free: 13.63 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.004471, allocations: 103.4 kB / 328.5 MB, free: 13.53 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.004827, allocations: 103.5 kB / 328.6 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.005013, allocations: 147.5 kB / 328.7 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.094e-05/0.005104, allocations: 22.44 kB / 328.7 MB, free: 13.26 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.606e-05/0.0052, allocations: 79.75 kB / 328.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.716e-05/0.005277, allocations: 35.83 kB / 328.8 MB, free: 13.15 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.005293, allocations: 8 kB / 328.9 MB, free: 13.14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.613e-05/0.005369, allocations: 47.92 kB / 328.9 MB, free: 13.09 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.282e-05/0.005412, allocations: 31.91 kB / 328.9 MB, free: 13.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.005449, allocations: 31.86 kB / 329 MB, free: 13.03 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.005741, allocations: 131.5 kB / 329.1 MB, free: 12.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.005747, allocations: 0 / 329.1 MB, free: 12.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005748, allocations: 0 / 329.1 MB, free: 12.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.005753, allocations: 0 / 329.1 MB, free: 12.9 MB / 314.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.0004407/0.006194, allocations: 385.6 kB / 329.5 MB, free: 12.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.006224, allocations: 8.031 kB / 329.5 MB, free: 12.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.006262, allocations: 16.92 kB / 329.5 MB, free: 12.47 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.006439, allocations: 174.3 kB / 329.7 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.006456, allocations: 4.375 kB / 329.7 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.006481, allocations: 12.31 kB / 329.7 MB, free: 12.26 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.006634, allocations: 126 kB / 329.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.006643, allocations: 7.938 kB / 329.8 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.006653, allocations: 4 kB / 329.8 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.006659, allocations: 7.938 kB / 329.8 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.523e-05/0.006694, allocations: 22.81 kB / 329.8 MB, free: 12.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.007016, allocations: 374.1 kB / 330.2 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.007186, allocations: 105.3 kB / 330.3 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.648e-05/0.007212, allocations: 20.84 kB / 330.3 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.007223, allocations: 0 / 330.3 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.007339, allocations: 99.84 kB / 330.4 MB, free: 11.42 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.00734, allocations: 0 / 330.4 MB, free: 11.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001636/0.007504, allocations: 77.53 kB / 330.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.007545, allocations: 59.41 kB / 330.6 MB, free: 11.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.00772, allocations: 193.5 kB / 330.8 MB, free: 11.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.007745, allocations: 29.7 kB / 330.8 MB, free: 11.03 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.00781, allocations: 104 kB / 330.9 MB, free: 10.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.007843, allocations: 35.72 kB / 330.9 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/0.007899, allocations: 25.7 kB / 330.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.008024, allocations: 334.7 kB / 331.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.989e-05/0.008064, allocations: 10.83 kB / 331.3 MB, free: 10.51 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.595e-05/0.00812, allocations: 48.28 kB / 331.3 MB, free: 10.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.008228, allocations: 73.8 kB / 331.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.008233, allocations: 3.984 kB / 331.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003608/0.008594, allocations: 84.38 kB / 331.5 MB, free: 10.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.008613, allocations: 8 kB / 331.5 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.008619, allocations: 0 / 331.5 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.008637, allocations: 4 kB / 331.5 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.456e-05/0.008732, allocations: 19.98 kB / 331.5 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.008736, allocations: 0 / 331.5 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.756e-05/0.008793, allocations: 20.05 kB / 331.5 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.008803, allocations: 0 / 331.5 MB, free: 10.21 MB / 314.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.82e-05/0.008901, allocations: 124.5 kB / 331.7 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.008929, allocations: 15.98 kB / 331.7 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001542/0.009083, allocations: 79.06 kB / 331.8 MB, free: 9.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.009087, allocations: 7.938 kB / 331.8 MB, free: 9.973 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.009088, allocations: 0 / 331.8 MB, free: 9.973 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.009093, allocations: 0 / 331.8 MB, free: 9.973 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.009224, allocations: 101.8 kB / 331.9 MB, free: 9.855 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.009228, allocations: 3.938 kB / 331.9 MB, free: 9.852 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.65e-05/0.009314, allocations: 16 kB / 331.9 MB, free: 9.836 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.009317, allocations: 0 / 331.9 MB, free: 9.836 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.009329, allocations: 4 kB / 331.9 MB, free: 9.832 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.009331, allocations: 0 / 331.9 MB, free: 9.832 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.009334, allocations: 4 kB / 331.9 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.009527, allocations: 114.7 kB / 332 MB, free: 9.695 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.571e-05/0.009552, allocations: 15.84 kB / 332 MB, free: 9.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.009575, allocations: 4 kB / 332 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.351e-05/0.009629, allocations: 7.984 kB / 332 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.009663, allocations: 7.984 kB / 332 MB, free: 9.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.00968, allocations: 8.031 kB / 332 MB, free: 9.652 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.255e-05/0.009752, allocations: 51.62 kB / 332.1 MB, free: 9.598 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009752, allocations: 0 / 332.1 MB, free: 9.598 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002408/0.009993, allocations: 31.94 kB / 332.1 MB, free: 9.566 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.001649/0.01164, allocations: 0.5014 MB / 332.6 MB, free: 9.297 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001555/0.0118, allocations: 64.62 kB / 332.7 MB, free: 9.234 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.01181, allocations: 4.25 kB / 332.7 MB, free: 9.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.658e-05/0.01186, allocations: 28.8 kB / 332.7 MB, free: 9.199 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.0121, allocations: 48.73 kB / 332.8 MB, free: 9.156 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005251/0.01262, allocations: 253.9 kB / 333 MB, free: 8.883 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.933e-05/0.01267, allocations: 75.83 kB / 333.1 MB, free: 8.789 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.405e-05/0.01274, allocations: 13.48 kB / 333.1 MB, free: 8.773 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.01285, allocations: 79.36 kB / 333.2 MB, free: 8.695 MB / 314.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01285, allocations: 3.938 kB / 333.2 MB, free: 8.691 MB / 314.7 MB Notification: Performance of Templates: time 0.005519/0.01837, allocations: 2.188 MB / 335.4 MB, free: 6.539 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.1162638650275767]