Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.00123/0.00123, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001446/0.001446, allocations: 165.4 kB / 24.56 MB, free: 20 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.056/1.056, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2715/0.2715, allocations: 32.81 MB / 294.3 MB, free: 1.309 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 376.1 MB, free: 4.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.944e-05, allocations: 6.312 kB / 376.1 MB, free: 4.613 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002027/0.002046, allocations: 1.727 MB / 377.8 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.00317, allocations: 0.9936 MB / 378.8 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.443e-05/0.003235, allocations: 0 / 378.8 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.003515, allocations: 55.73 kB / 378.9 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.003804, allocations: 107.5 kB / 379 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.003943, allocations: 79.61 kB / 379.1 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.004083, allocations: 103.6 kB / 379.2 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.199e-05/0.004115, allocations: 240 / 379.2 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.843e-05/0.004193, allocations: 55.83 kB / 379.2 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.00426, allocations: 27.91 kB / 379.2 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.004274, allocations: 4 kB / 379.2 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.013e-05/0.004334, allocations: 27.98 kB / 379.3 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.874e-05/0.004383, allocations: 27.92 kB / 379.3 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.004418, allocations: 19.88 kB / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.004568, allocations: 99.59 kB / 379.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.004572, allocations: 4 kB / 379.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004573, allocations: 4 kB / 379.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.004576, allocations: 0 / 379.4 MB, free: 1.266 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004297/0.005006, allocations: 471.6 kB / 379.9 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.005039, allocations: 8.031 kB / 379.9 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.005085, allocations: 16.84 kB / 379.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.005241, allocations: 169.2 kB / 380.1 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.005257, allocations: 384 / 380.1 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.005267, allocations: 8.312 kB / 380.1 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.005368, allocations: 50.95 kB / 380.1 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.005376, allocations: 7.922 kB / 380.1 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.005385, allocations: 8 kB / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.005392, allocations: 0 / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.641e-05/0.005418, allocations: 8 kB / 380.2 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001367/0.005555, allocations: 156.6 kB / 380.3 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.982e-05/0.005645, allocations: 43.11 kB / 380.3 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.635e-05/0.005671, allocations: 23.62 kB / 380.4 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.005681, allocations: 0 / 380.4 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.47e-05/0.005765, allocations: 65.05 kB / 380.4 MB, free: 116 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.674e-06/0.005767, allocations: 3.984 kB / 380.4 MB, free: 112 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001631/0.00593, allocations: 93.52 kB / 380.5 MB, free: 12 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.005969, allocations: 55.34 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.006116, allocations: 274.7 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.006129, allocations: 29.7 kB / 380.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.006186, allocations: 166.9 kB / 381 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.006212, allocations: 11.89 kB / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.006239, allocations: 27.38 kB / 381.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.006351, allocations: 0.5001 MB / 381.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.002e-05/0.006371, allocations: 11.98 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.716e-05/0.006399, allocations: 23.38 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.608e-05/0.006445, allocations: 43.36 kB / 381.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.006446, allocations: 0 / 381.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.386e-05/0.00653, allocations: 77.78 kB / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.006541, allocations: 7.938 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.006549, allocations: 8 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.006562, allocations: 4 kB / 381.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.868e-05/0.006621, allocations: 8 kB / 381.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.006626, allocations: 3.938 kB / 381.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.882e-05/0.006655, allocations: 7.984 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.00666, allocations: 4.031 kB / 381.8 MB, free: 14.68 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 (7): * Single equations (assignments): 7 * 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.595e-05/0.006726, allocations: 164 kB / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.00674, allocations: 15.91 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.006851, allocations: 86.77 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.006852, allocations: 0 / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.006855, allocations: 0 / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.006858, allocations: 0 / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.487e-05/0.006953, allocations: 168.5 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.006953, allocations: 0 / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.616e-05/0.00697, allocations: 7.938 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.006971, allocations: 4 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.00698, allocations: 7.984 kB / 382.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.006981, allocations: 3.938 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.006982, allocations: 0 / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.327e-05/0.007075, allocations: 116.3 kB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.551e-05/0.007091, allocations: 15.89 kB / 382.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.007106, allocations: 0 / 382.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.037e-05/0.007127, allocations: 7.938 kB / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.007154, allocations: 4 kB / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.007165, allocations: 7.984 kB / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.045e-05/0.007256, allocations: 196.5 kB / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007256, allocations: 0 / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001434/0.007399, allocations: 20 kB / 382.6 MB, free: 13.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007723/0.008172, allocations: 393.4 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001038/0.008275, allocations: 43.59 kB / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.008276, allocations: 0 / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.314e-05/0.00831, allocations: 31.61 kB / 383 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.008487, allocations: 27.77 kB / 383.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/0.008826, allocations: 234.5 kB / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.756e-05/0.008864, allocations: 71.33 kB / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.946e-05/0.008893, allocations: 12.55 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.008921, allocations: 24.5 kB / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.008921, allocations: 0 / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of Templates: time 0.003467/0.01239, allocations: 1.78 MB / 385.2 MB, free: 11.3 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.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.0230120019987226]