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.001799/0.001799, allocations: 114.5 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.001469/0.001469, allocations: 206.2 kB / 24.47 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.583/1.583, allocations: 230.2 MB / 257.8 MB, free: 8.508 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.2578/0.2578, 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.002313/0.002313, allocations: 84.19 kB / 0.4968 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4365/0.4388, allocations: 65.99 MB / 0.5613 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003981/0.4428, allocations: 1.838 MB / 0.5631 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.4449, allocations: 1.122 MB / 0.5641 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.41e-05/0.4449, allocations: 4 kB / 0.5642 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005756/0.4455, allocations: 303.3 kB / 0.5644 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005304/0.4461, allocations: 247.2 kB / 0.5647 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.4463, allocations: 107.6 kB / 0.5648 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000362/0.4467, allocations: 259.3 kB / 0.565 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.466e-05/0.4467, allocations: 9.625 kB / 0.565 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.447, allocations: 139.5 kB / 0.5652 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.4473, allocations: 207.9 kB / 0.5654 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.4473, allocations: 12 kB / 0.5654 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.4474, allocations: 47.97 kB / 0.5654 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.4476, allocations: 140.5 kB / 0.5656 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.4477, allocations: 142.8 kB / 0.5657 GB, free: 468 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004963/0.4482, allocations: 377 kB / 0.5661 GB, free: 92 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4482, allocations: 0 / 0.5661 GB, free: 92 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4482, allocations: 0 / 0.5661 GB, free: 92 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.4482, allocations: 0 / 0.5661 GB, free: 92 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.001114/0.4493, allocations: 0.75 MB / 0.5668 GB, free: 15.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.4494, allocations: 12.03 kB / 0.5668 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.11e-05/0.4495, allocations: 52.61 kB / 0.5668 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007186/0.4502, allocations: 460.3 kB / 0.5673 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.4502, allocations: 4.375 kB / 0.5673 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.4502, allocations: 384 / 0.5673 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.4504, allocations: 91.67 kB / 0.5674 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.4504, allocations: 0 / 0.5674 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.4505, allocations: 8 kB / 0.5674 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.4505, allocations: 0 / 0.5674 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.4506, allocations: 31.92 kB / 0.5674 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004541/0.451, allocations: 374.4 kB / 0.5678 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.4513, allocations: 101.2 kB / 0.5679 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.682e-05/0.4514, allocations: 33.7 kB / 0.5679 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.4515, allocations: 7.938 kB / 0.5679 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002337/0.4517, allocations: 105 kB / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.4517, allocations: 0 / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005239/0.4522, allocations: 209.6 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.494e-05/0.4523, allocations: 85.11 kB / 0.5683 GB, free: 13.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.4536, allocations: 1.019 MB / 0.5693 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.4536, allocations: 29.69 kB / 0.5693 GB, free: 12.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.4538, allocations: 232.1 kB / 0.5695 GB, free: 12.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.104e-05/0.4538, allocations: 31.77 kB / 0.5696 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.198e-05/0.4539, allocations: 33.7 kB / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.4541, allocations: 370.8 kB / 0.57 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.736e-05/0.4542, allocations: 27.92 kB / 0.57 GB, free: 11.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.4544, allocations: 55.42 kB / 0.57 GB, free: 11.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.4546, allocations: 95.34 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4546, allocations: 3.938 kB / 0.5701 GB, free: 11.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003214/0.4549, allocations: 173.2 kB / 0.5703 GB, free: 11.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.4549, allocations: 11.94 kB / 0.5703 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4549, allocations: 0 / 0.5703 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.455, allocations: 4 kB / 0.5703 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.4551, allocations: 23.92 kB / 0.5703 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.4551, allocations: 4.062 kB / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.4552, allocations: 15.94 kB / 0.5703 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.4552, allocations: 4 kB / 0.5704 GB, free: 11.39 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.0002352/0.4554, allocations: 222.6 kB / 0.5706 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.4555, allocations: 59.59 kB / 0.5706 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004013/0.4559, allocations: 201.9 kB / 0.5708 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.4559, allocations: 0 / 0.5708 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.4559, allocations: 4 kB / 0.5708 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.4559, allocations: 0 / 0.5708 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.4563, allocations: 345.5 kB / 0.5711 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4563, allocations: 0 / 0.5711 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.769e-05/0.4563, allocations: 11.94 kB / 0.5712 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4563, allocations: 3.938 kB / 0.5712 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.4563, allocations: 4 kB / 0.5712 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.4563, allocations: 3.984 kB / 0.5712 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.4563, allocations: 0 / 0.5712 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.4567, allocations: 217.5 kB / 0.5714 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.4569, allocations: 144.7 kB / 0.5715 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.4569, allocations: 4 kB / 0.5715 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.384e-05/0.457, allocations: 7.984 kB / 0.5715 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.4571, allocations: 8 kB / 0.5715 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.4571, allocations: 11.98 kB / 0.5715 GB, free: 10.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008643/0.458, allocations: 0.7604 MB / 0.5723 GB, free: 9.305 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.458, allocations: 4 kB / 0.5723 GB, free: 9.301 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.4583, allocations: 43.94 kB / 0.5723 GB, free: 9.258 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.4598, allocations: 407.9 kB / 0.5727 GB, free: 9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002778/0.4601, allocations: 79.84 kB / 0.5728 GB, free: 8.922 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.4601, allocations: 0 / 0.5728 GB, free: 8.922 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.4602, allocations: 39.92 kB / 0.5728 GB, free: 8.883 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.4607, allocations: 89.28 kB / 0.5729 GB, free: 8.801 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.4621, allocations: 0.8815 MB / 0.5738 GB, free: 7.891 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005509/0.4626, allocations: 0.8427 MB / 0.5746 GB, free: 7.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.4628, allocations: 67.42 kB / 0.5747 GB, free: 6.953 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.004e-05/0.4628, allocations: 27.44 kB / 0.5747 GB, free: 6.93 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4628, allocations: 0 / 0.5747 GB, free: 6.93 MB / 414.1 MB Notification: Performance of Templates: time 0.008786/0.4716, allocations: 3.828 MB / 0.5784 GB, free: 3.113 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 cvode -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.544649956282228]