Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001717/0.001717, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001407/0.001407, allocations: 214 kB / 23.54 MB, free: 5.387 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 230.2 MB / 256.8 MB, free: 8.629 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2389/0.2389, allocations: 46.89 MB / 359.9 MB, free: 5.012 MB / 286.1 MB [Timeout remaining time 89] 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.Test71,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.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,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.Test71") [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.002372/0.002372, allocations: 75.88 kB / 0.495 GB, free: 8.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4061, allocations: 65.98 MB / 0.5595 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.00354/0.4096, allocations: 1.832 MB / 0.5613 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.4115, allocations: 1.1 MB / 0.5623 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.428e-05/0.4116, allocations: 7.938 kB / 0.5623 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005634/0.4122, allocations: 307.3 kB / 0.5626 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004963/0.4127, allocations: 255.2 kB / 0.5629 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.4129, allocations: 107.6 kB / 0.563 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00036/0.4133, allocations: 267.3 kB / 0.5632 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.351e-05/0.4134, allocations: 5.688 kB / 0.5632 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.4136, allocations: 131.5 kB / 0.5634 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/0.4139, allocations: 215.4 kB / 0.5636 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.4139, allocations: 8 kB / 0.5636 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.414, allocations: 55.97 kB / 0.5636 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.4142, allocations: 143.5 kB / 0.5638 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.4143, allocations: 150.8 kB / 0.5639 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004686/0.4148, allocations: 380.6 kB / 0.5643 GB, free: 240 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4148, allocations: 0 / 0.5643 GB, free: 240 kB / 398.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.4148, allocations: 0 / 0.5643 GB, free: 240 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.4148, allocations: 4 kB / 0.5643 GB, free: 236 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.001087/0.4159, allocations: 0.7577 MB / 0.565 GB, free: 15.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.416, allocations: 8.031 kB / 0.565 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.238e-05/0.416, allocations: 60.59 kB / 0.5651 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000704/0.4167, allocations: 460.3 kB / 0.5655 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.4168, allocations: 384 / 0.5655 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.4168, allocations: 8.125 kB / 0.5655 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.417, allocations: 95.3 kB / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.417, allocations: 0 / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.417, allocations: 0 / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.417, allocations: 4 kB / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.4171, allocations: 27.98 kB / 0.5656 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.4176, allocations: 382.3 kB / 0.566 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.4179, allocations: 105.2 kB / 0.5661 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.361e-05/0.418, allocations: 37.64 kB / 0.5661 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.418, allocations: 3.984 kB / 0.5662 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.4182, allocations: 117 kB / 0.5663 GB, free: 13.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.4182, allocations: 0 / 0.5663 GB, free: 13.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004876/0.4187, allocations: 201.2 kB / 0.5665 GB, free: 13.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.4188, allocations: 77.11 kB / 0.5665 GB, free: 13.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.42, allocations: 1.054 MB / 0.5676 GB, free: 12.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.4201, allocations: 33.7 kB / 0.5676 GB, free: 12.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.4202, allocations: 236.1 kB / 0.5678 GB, free: 12.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.003e-05/0.4203, allocations: 27.75 kB / 0.5678 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.428e-05/0.4204, allocations: 29.7 kB / 0.5679 GB, free: 12.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.4206, allocations: 370.8 kB / 0.5682 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.843e-05/0.4206, allocations: 27.98 kB / 0.5683 GB, free: 11.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.4208, allocations: 70.78 kB / 0.5683 GB, free: 11.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.4209, allocations: 83.86 kB / 0.5684 GB, free: 11.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.4209, allocations: 4 kB / 0.5684 GB, free: 11.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000316/0.4212, allocations: 181.1 kB / 0.5686 GB, free: 11.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.4213, allocations: 7.938 kB / 0.5686 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.4213, allocations: 8.062 kB / 0.5686 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.4213, allocations: 0 / 0.5686 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.4214, allocations: 23.98 kB / 0.5686 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.4214, allocations: 0 / 0.5686 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.599e-05/0.4215, allocations: 4 kB / 0.5686 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.4215, allocations: 8 kB / 0.5686 GB, free: 11.48 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.000239/0.4218, allocations: 234.4 kB / 0.5688 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-05/0.4218, allocations: 55.62 kB / 0.5689 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003911/0.4222, allocations: 201.7 kB / 0.5691 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.4222, allocations: 4 kB / 0.5691 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4222, allocations: 0 / 0.5691 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.4222, allocations: 3.984 kB / 0.5691 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003741/0.4226, allocations: 353.4 kB / 0.5694 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4226, allocations: 256 / 0.5694 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/0.4227, allocations: 16 kB / 0.5695 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4227, allocations: 0 / 0.5695 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.4227, allocations: 4 kB / 0.5695 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4227, allocations: 0 / 0.5695 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4227, allocations: 4 kB / 0.5695 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.423, allocations: 221.4 kB / 0.5697 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.4232, allocations: 136.8 kB / 0.5698 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.4232, allocations: 4 kB / 0.5698 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.781e-05/0.4233, allocations: 11.98 kB / 0.5698 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.4234, allocations: 11.94 kB / 0.5698 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.4234, allocations: 7.984 kB / 0.5698 GB, free: 10.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008741/0.4242, allocations: 0.7839 MB / 0.5706 GB, free: 9.352 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4242, allocations: 0 / 0.5706 GB, free: 9.352 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000275/0.4245, allocations: 47.94 kB / 0.5706 GB, free: 9.305 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.001537/0.4261, allocations: 403.4 kB / 0.571 GB, free: 9.039 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002523/0.4263, allocations: 83.95 kB / 0.5711 GB, free: 8.957 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4263, allocations: 0 / 0.5711 GB, free: 8.957 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.4264, allocations: 39.98 kB / 0.5712 GB, free: 8.918 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.4268, allocations: 79.52 kB / 0.5712 GB, free: 8.852 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.4282, allocations: 0.9379 MB / 0.5721 GB, free: 7.879 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/0.4287, allocations: 0.8547 MB / 0.573 GB, free: 6.996 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.674e-05/0.4288, allocations: 31.38 kB / 0.573 GB, free: 6.969 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4288, allocations: 0 / 0.573 GB, free: 6.969 MB / 414.1 MB Notification: Performance of Templates: time 0.008501/0.4373, allocations: 5.231 MB / 0.5781 GB, free: 1.742 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches