Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 107.2 kB / 20.37 MB, free: 2.105 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 195.7 kB / 23.52 MB, free: 5.418 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 252.1 MB, free: 13.38 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2333/0.2333, allocations: 44.9 MB / 352.1 MB, free: 12.3 MB / 286.1 MB [Timeout remaining time 89] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 71.89 kB / 495.7 MB, free: 3.434 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3299, allocations: 64.24 MB / 0.5468 GB, free: 41.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002548/0.3325, allocations: 1.806 MB / 0.5486 GB, free: 40.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.3336, allocations: 0.9708 MB / 0.5495 GB, free: 39.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.503e-05/0.3337, allocations: 4.156 kB / 0.5495 GB, free: 39.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004309/0.3342, allocations: 303.2 kB / 0.5498 GB, free: 39.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.3344, allocations: 210.4 kB / 0.55 GB, free: 39.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.3348, allocations: 169.5 kB / 0.5502 GB, free: 39.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.335, allocations: 243.1 kB / 0.5504 GB, free: 39.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.976e-05/0.3351, allocations: 10.66 kB / 0.5504 GB, free: 39.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.3352, allocations: 134.4 kB / 0.5505 GB, free: 39.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.3354, allocations: 221 kB / 0.5508 GB, free: 39.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.3354, allocations: 6.031 kB / 0.5508 GB, free: 39.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.403e-05/0.3355, allocations: 48.53 kB / 0.5508 GB, free: 39.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.3356, allocations: 134.1 kB / 0.5509 GB, free: 39.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.551e-05/0.3357, allocations: 144 kB / 0.5511 GB, free: 38.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.336, allocations: 370.3 kB / 0.5514 GB, free: 38.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.336, allocations: 0 / 0.5514 GB, free: 38.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.336, allocations: 0 / 0.5514 GB, free: 38.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.336, allocations: 1.438 kB / 0.5514 GB, free: 38.81 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007284/0.3368, allocations: 0.7515 MB / 0.5522 GB, free: 38.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.3368, allocations: 10.47 kB / 0.5522 GB, free: 38.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.887e-05/0.3369, allocations: 55.97 kB / 0.5522 GB, free: 38.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000468/0.3373, allocations: 449.8 kB / 0.5527 GB, free: 37.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3373, allocations: 384 / 0.5527 GB, free: 37.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.3373, allocations: 7.188 kB / 0.5527 GB, free: 37.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.3375, allocations: 90.75 kB / 0.5528 GB, free: 37.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3375, allocations: 2.625 kB / 0.5528 GB, free: 37.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.3375, allocations: 0.6875 kB / 0.5528 GB, free: 37.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3375, allocations: 3.219 kB / 0.5528 GB, free: 37.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.3376, allocations: 31.75 kB / 0.5528 GB, free: 37.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.3379, allocations: 374.1 kB / 0.5531 GB, free: 37.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.3381, allocations: 100.5 kB / 0.5532 GB, free: 37.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.996e-05/0.3382, allocations: 45.28 kB / 0.5533 GB, free: 37.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.3382, allocations: 5.578 kB / 0.5533 GB, free: 37.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.3384, allocations: 109.6 kB / 0.5534 GB, free: 37.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.3384, allocations: 1.125 kB / 0.5534 GB, free: 37.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003985/0.3388, allocations: 202.8 kB / 0.5536 GB, free: 37.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.3388, allocations: 77.11 kB / 0.5537 GB, free: 37.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007775/0.3396, allocations: 1.036 MB / 0.5547 GB, free: 36.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.3396, allocations: 28.73 kB / 0.5547 GB, free: 36.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.3397, allocations: 230 kB / 0.5549 GB, free: 36.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.3398, allocations: 29.73 kB / 0.5549 GB, free: 36.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.3398, allocations: 30.81 kB / 0.555 GB, free: 36.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.733e-05/0.3399, allocations: 368.2 kB / 0.5553 GB, free: 36.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.595e-05/0.34, allocations: 30.61 kB / 0.5554 GB, free: 36.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.477e-05/0.34, allocations: 57.17 kB / 0.5554 GB, free: 36.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.3402, allocations: 96.64 kB / 0.5555 GB, free: 36.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3402, allocations: 0 / 0.5555 GB, free: 36.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002389/0.3404, allocations: 180.9 kB / 0.5557 GB, free: 35.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.3404, allocations: 6.156 kB / 0.5557 GB, free: 35.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3404, allocations: 6.844 kB / 0.5557 GB, free: 35.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3405, allocations: 0 / 0.5557 GB, free: 35.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.3406, allocations: 20.19 kB / 0.5557 GB, free: 35.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.3406, allocations: 3.438 kB / 0.5557 GB, free: 35.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.799e-05/0.3407, allocations: 6.547 kB / 0.5557 GB, free: 35.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.3407, allocations: 3.469 kB / 0.5557 GB, free: 35.96 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 0.0001461/0.3408, allocations: 231.3 kB / 0.5559 GB, free: 35.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.972e-05/0.3409, allocations: 56.41 kB / 0.556 GB, free: 35.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003097/0.3412, allocations: 194.1 kB / 0.5562 GB, free: 35.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3412, allocations: 0 / 0.5562 GB, free: 35.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3412, allocations: 0 / 0.5562 GB, free: 35.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3412, allocations: 6.812 kB / 0.5562 GB, free: 35.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.3414, allocations: 351.5 kB / 0.5565 GB, free: 35.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3414, allocations: 0 / 0.5565 GB, free: 35.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/0.3414, allocations: 13.38 kB / 0.5565 GB, free: 35.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3414, allocations: 0 / 0.5565 GB, free: 35.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.3414, allocations: 7.094 kB / 0.5565 GB, free: 35.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3414, allocations: 0 / 0.5565 GB, free: 35.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3414, allocations: 0 / 0.5565 GB, free: 35.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.3417, allocations: 227.4 kB / 0.5568 GB, free: 35.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.722e-05/0.3418, allocations: 136.2 kB / 0.5569 GB, free: 35.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.3419, allocations: 8.016 kB / 0.5569 GB, free: 35.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.976e-05/0.3419, allocations: 6.328 kB / 0.5569 GB, free: 35.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.342, allocations: 9.391 kB / 0.5569 GB, free: 35.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.342, allocations: 10.94 kB / 0.5569 GB, free: 35.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005683/0.3425, allocations: 0.7711 MB / 0.5577 GB, free: 34.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3425, allocations: 0 / 0.5577 GB, free: 34.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000243/0.3428, allocations: 38.47 kB / 0.5577 GB, free: 34.91 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001359/0.3442, allocations: 428.8 kB / 0.5581 GB, free: 34.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002288/0.3444, allocations: 87.36 kB / 0.5582 GB, free: 34.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3444, allocations: 4.125 kB / 0.5582 GB, free: 34.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.147e-05/0.3445, allocations: 39 kB / 0.5582 GB, free: 34.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.3449, allocations: 72.62 kB / 0.5583 GB, free: 34.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009504/0.3458, allocations: 0.92 MB / 0.5592 GB, free: 34.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.346, allocations: 0.8526 MB / 0.56 GB, free: 33.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.3461, allocations: 29.19 kB / 0.5601 GB, free: 33.51 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3461, allocations: 0 / 0.5601 GB, free: 33.51 MB / 446.1 MB Notification: Performance of Templates: time 0.007608/0.3537, allocations: 5.124 MB / 0.5651 GB, free: 32.71 MB / 446.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches