Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.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.009152/0.009152, allocations: 107.9 kB / 21.97 MB, free: 5.184 MB / 14.72 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.002535/0.002535, allocations: 218.2 kB / 25.29 MB, free: 3.203 MB / 14.72 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.472/1.472, allocations: 230.5 MB / 258.9 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2267/0.2267, allocations: 46.92 MB / 362.3 MB, free: 4.223 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 79.86 kB / 0.4983 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3324, allocations: 66.08 MB / 0.5628 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003378/0.3357, allocations: 1.85 MB / 0.5646 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.3377, allocations: 1.111 MB / 0.5657 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.3378, allocations: 4 kB / 0.5657 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005584/0.3384, allocations: 315.2 kB / 0.566 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005314/0.3389, allocations: 259.2 kB / 0.5662 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.3392, allocations: 103.7 kB / 0.5663 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003513/0.3395, allocations: 271.2 kB / 0.5666 GB, free: 336 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.476e-05/0.3396, allocations: 9.812 kB / 0.5666 GB, free: 324 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.3398, allocations: 139.5 kB / 0.5667 GB, free: 184 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002905/0.3401, allocations: 219.6 kB / 0.5669 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.3401, allocations: 4 kB / 0.5669 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.3402, allocations: 51.8 kB / 0.567 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.3404, allocations: 139.6 kB / 0.5671 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.3405, allocations: 154.8 kB / 0.5673 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004477/0.341, allocations: 384.6 kB / 0.5676 GB, free: 15.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.341, allocations: 0 / 0.5676 GB, free: 15.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.341, allocations: 3.938 kB / 0.5676 GB, free: 15.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.341, allocations: 0 / 0.5676 GB, free: 15.25 MB / 414.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.001001/0.342, allocations: 0.6747 MB / 0.5683 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.342, allocations: 15.97 kB / 0.5683 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.899e-05/0.3421, allocations: 48.61 kB / 0.5684 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006781/0.3428, allocations: 406.5 kB / 0.5688 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.3428, allocations: 384 / 0.5688 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.3428, allocations: 4.375 kB / 0.5688 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.3431, allocations: 99.59 kB / 0.5689 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3431, allocations: 0 / 0.5689 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3431, allocations: 0 / 0.5689 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.3431, allocations: 4 kB / 0.5689 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.3432, allocations: 31.97 kB / 0.5689 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.3437, allocations: 353.4 kB / 0.5692 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.344, allocations: 101.2 kB / 0.5693 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.3441, allocations: 41.7 kB / 0.5694 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.3441, allocations: 0 / 0.5694 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002447/0.3443, allocations: 116.9 kB / 0.5695 GB, free: 13.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.3443, allocations: 0 / 0.5695 GB, free: 13.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005184/0.3449, allocations: 197.2 kB / 0.5697 GB, free: 13.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.3449, allocations: 81.11 kB / 0.5697 GB, free: 12.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.3462, allocations: 1.054 MB / 0.5708 GB, free: 11.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.3462, allocations: 25.7 kB / 0.5708 GB, free: 11.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.3464, allocations: 240.1 kB / 0.571 GB, free: 11.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.971e-05/0.3465, allocations: 27.75 kB / 0.571 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.658e-05/0.3465, allocations: 29.7 kB / 0.5711 GB, free: 11.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002702/0.3468, allocations: 374.7 kB / 0.5714 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.968e-05/0.3469, allocations: 35.98 kB / 0.5715 GB, free: 11.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.347, allocations: 59.34 kB / 0.5715 GB, free: 11.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.3473, allocations: 83.92 kB / 0.5716 GB, free: 10.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.3473, allocations: 4 kB / 0.5716 GB, free: 10.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003345/0.3476, allocations: 185.1 kB / 0.5718 GB, free: 10.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.3476, allocations: 8 kB / 0.5718 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.3476, allocations: 0 / 0.5718 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3477, allocations: 0 / 0.5718 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.3478, allocations: 27.92 kB / 0.5718 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3478, allocations: 0 / 0.5718 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.3479, allocations: 11.88 kB / 0.5718 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.3479, allocations: 8 kB / 0.5718 GB, free: 10.7 MB / 414.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.0002493/0.3482, allocations: 222.7 kB / 0.572 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.145e-05/0.3482, allocations: 59.56 kB / 0.5721 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004196/0.3487, allocations: 197.8 kB / 0.5723 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3487, allocations: 4 kB / 0.5723 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3487, allocations: 0 / 0.5723 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3487, allocations: 3.984 kB / 0.5723 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/0.349, allocations: 316.5 kB / 0.5726 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.349, allocations: 0 / 0.5726 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.774e-05/0.3491, allocations: 15.94 kB / 0.5726 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.3491, allocations: 4 kB / 0.5726 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.3491, allocations: 4 kB / 0.5726 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.268e-05/0.3491, allocations: 3.984 kB / 0.5726 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/0.3491, allocations: 8.188 kB / 0.5726 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.3495, allocations: 213.5 kB / 0.5728 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.3496, allocations: 75.53 kB / 0.5729 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.377e-05/0.3496, allocations: 0 / 0.5729 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.039e-05/0.3497, allocations: 11.98 kB / 0.5729 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.3498, allocations: 7.984 kB / 0.5729 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.3498, allocations: 4 kB / 0.5729 GB, free: 9.492 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001004/0.3508, allocations: 0.7839 MB / 0.5737 GB, free: 8.711 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3508, allocations: 0 / 0.5737 GB, free: 8.711 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002843/0.3511, allocations: 44 kB / 0.5737 GB, free: 8.668 MB / 414.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.001541/0.3526, allocations: 409.9 kB / 0.5741 GB, free: 8.395 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002874/0.3529, allocations: 83.84 kB / 0.5742 GB, free: 8.312 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3529, allocations: 0 / 0.5742 GB, free: 8.312 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.353, allocations: 39.92 kB / 0.5743 GB, free: 8.273 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.3535, allocations: 77.45 kB / 0.5743 GB, free: 8.199 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.355, allocations: 0.9342 MB / 0.5752 GB, free: 7.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005609/0.3556, allocations: 0.8546 MB / 0.5761 GB, free: 6.352 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.79e-05/0.3556, allocations: 31.42 kB / 0.5761 GB, free: 6.324 MB / 414.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3556, allocations: 0 / 0.5761 GB, free: 6.324 MB / 414.1 MB Notification: Performance of Templates: time 0.009602/0.3652, allocations: 5.244 MB / 0.5812 GB, free: 1.086 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.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: 8.116532425163314]