Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.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.001699/0.001699, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002383/0.002383, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.497/1.497, allocations: 230.2 MB / 257.8 MB, free: 8.52 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.2502/0.2502, allocations: 46.9 MB / 361.1 MB, free: 4.645 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69") [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.002565/0.002565, allocations: 83.86 kB / 0.4968 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.365, allocations: 65.97 MB / 0.5613 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003643/0.3686, allocations: 1.848 MB / 0.5631 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.3707, allocations: 1.115 MB / 0.5641 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.3708, allocations: 0 / 0.5641 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007393/0.3716, allocations: 307.2 kB / 0.5644 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005551/0.3721, allocations: 255.2 kB / 0.5647 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.3724, allocations: 103.7 kB / 0.5648 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003965/0.3728, allocations: 263.2 kB / 0.565 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.007e-05/0.3729, allocations: 5.688 kB / 0.565 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.3731, allocations: 131.6 kB / 0.5652 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.3734, allocations: 215.9 kB / 0.5654 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.3734, allocations: 4 kB / 0.5654 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.3735, allocations: 51.97 kB / 0.5654 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.3737, allocations: 132.5 kB / 0.5655 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.3738, allocations: 154.7 kB / 0.5657 GB, free: 452 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005421/0.3744, allocations: 373.1 kB / 0.5661 GB, free: 80 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3744, allocations: 0 / 0.5661 GB, free: 80 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3744, allocations: 0 / 0.5661 GB, free: 80 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.3744, allocations: 0 / 0.5661 GB, free: 80 kB / 398.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.001139/0.3755, allocations: 0.7502 MB / 0.5668 GB, free: 15.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3756, allocations: 8.031 kB / 0.5668 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.478e-05/0.3757, allocations: 56.55 kB / 0.5668 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007426/0.3764, allocations: 456.3 kB / 0.5673 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.3764, allocations: 4.375 kB / 0.5673 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.3764, allocations: 4.375 kB / 0.5673 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.3767, allocations: 91.67 kB / 0.5674 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3767, allocations: 0 / 0.5674 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.3767, allocations: 4 kB / 0.5674 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.3767, allocations: 0 / 0.5674 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.3768, allocations: 31.92 kB / 0.5674 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.3773, allocations: 374.4 kB / 0.5678 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.3776, allocations: 101.2 kB / 0.5679 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.3777, allocations: 37.7 kB / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.3777, allocations: 7.938 kB / 0.5679 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002493/0.3779, allocations: 117 kB / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.3779, allocations: 0 / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005394/0.3785, allocations: 201.2 kB / 0.5682 GB, free: 13.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/0.3786, allocations: 85.05 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.3798, allocations: 1.022 MB / 0.5693 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.3798, allocations: 25.7 kB / 0.5693 GB, free: 12.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.3801, allocations: 232.1 kB / 0.5695 GB, free: 12.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.514e-05/0.3801, allocations: 39.77 kB / 0.5696 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.3802, allocations: 21.72 kB / 0.5696 GB, free: 12.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002341/0.3804, allocations: 374.8 kB / 0.57 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.936e-05/0.3805, allocations: 23.98 kB / 0.57 GB, free: 11.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.3806, allocations: 63.42 kB / 0.57 GB, free: 11.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.3808, allocations: 87.34 kB / 0.5701 GB, free: 11.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3808, allocations: 0 / 0.5701 GB, free: 11.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003304/0.3811, allocations: 177.2 kB / 0.5703 GB, free: 11.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3812, allocations: 8 kB / 0.5703 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3812, allocations: 0.625 kB / 0.5703 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.3812, allocations: 0 / 0.5703 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.3813, allocations: 27.92 kB / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3813, allocations: 3.938 kB / 0.5703 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.3814, allocations: 11.94 kB / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.3814, allocations: 12 kB / 0.5703 GB, free: 11.38 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.0002707/0.3817, allocations: 218.7 kB / 0.5706 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.039e-05/0.3818, allocations: 59.58 kB / 0.5706 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004269/0.3822, allocations: 201.6 kB / 0.5708 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3822, allocations: 3.984 kB / 0.5708 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3822, allocations: 0 / 0.5708 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.3822, allocations: 0 / 0.5708 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003901/0.3826, allocations: 341.5 kB / 0.5711 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3826, allocations: 3.938 kB / 0.5711 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-05/0.3827, allocations: 11.94 kB / 0.5712 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3827, allocations: 4 kB / 0.5712 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.3827, allocations: 4 kB / 0.5712 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-06/0.3827, allocations: 7.969 kB / 0.5712 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3827, allocations: 0 / 0.5712 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000366/0.3831, allocations: 213.5 kB / 0.5714 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/0.3833, allocations: 148.6 kB / 0.5715 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.672e-05/0.3833, allocations: 0 / 0.5715 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.491e-05/0.3834, allocations: 15.92 kB / 0.5715 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.3834, allocations: 8 kB / 0.5715 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.3835, allocations: 11.98 kB / 0.5715 GB, free: 10.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008971/0.3843, allocations: 0.7565 MB / 0.5723 GB, free: 9.289 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3843, allocations: 4 kB / 0.5723 GB, free: 9.285 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.3846, allocations: 43.94 kB / 0.5723 GB, free: 9.242 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.001549/0.3862, allocations: 418.3 kB / 0.5727 GB, free: 8.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000267/0.3864, allocations: 79.91 kB / 0.5728 GB, free: 8.902 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3864, allocations: 0 / 0.5728 GB, free: 8.902 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.3866, allocations: 39.92 kB / 0.5728 GB, free: 8.863 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.387, allocations: 69.58 kB / 0.5729 GB, free: 8.793 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.3885, allocations: 0.8816 MB / 0.5738 GB, free: 7.883 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000716/0.3892, allocations: 0.8505 MB / 0.5746 GB, free: 7.004 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001242/0.3893, allocations: 67.42 kB / 0.5747 GB, free: 6.938 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.978e-05/0.3894, allocations: 27.44 kB / 0.5747 GB, free: 6.914 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3894, allocations: 0 / 0.5747 GB, free: 6.914 MB / 414.1 MB Notification: Performance of Templates: time 0.008752/0.3981, allocations: 3.828 MB / 0.5784 GB, free: 3.102 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.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: 5.159277975093573]