Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.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.001807/0.001807, allocations: 109.6 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.00232/0.00232, allocations: 215.3 kB / 23.54 MB, free: 5.402 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.409/1.409, 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.225/0.225, allocations: 46.88 MB / 359.9 MB, free: 5.004 MB / 286.1 MB [Timeout remaining time 90] 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1") [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.002304/0.002304, allocations: 83.88 kB / 0.4951 GB, free: 8.605 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2981, allocations: 65.97 MB / 0.5595 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003127/0.3013, allocations: 1.732 MB / 0.5612 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.303, allocations: 1.034 MB / 0.5622 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.9e-05/0.303, allocations: 7.938 kB / 0.5622 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002974/0.3033, allocations: 51.75 kB / 0.5622 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003009/0.3036, allocations: 103.5 kB / 0.5623 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.3038, allocations: 79.67 kB / 0.5624 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.304, allocations: 103.7 kB / 0.5625 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.698e-05/0.3041, allocations: 8 kB / 0.5625 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.062e-05/0.3042, allocations: 43.78 kB / 0.5626 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.973e-05/0.3043, allocations: 35.78 kB / 0.5626 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.3043, allocations: 4 kB / 0.5626 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.3044, allocations: 39.98 kB / 0.5626 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.753e-05/0.3045, allocations: 31.91 kB / 0.5627 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.393e-05/0.3045, allocations: 39.62 kB / 0.5627 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.3048, allocations: 150 kB / 0.5628 GB, free: 1.844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3048, allocations: 0 / 0.5628 GB, free: 1.844 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3048, allocations: 0 / 0.5628 GB, free: 1.844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.3048, allocations: 4 kB / 0.5629 GB, free: 1.84 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006414/0.3054, allocations: 450.4 kB / 0.5633 GB, free: 1.352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3055, allocations: 12.02 kB / 0.5633 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.378e-05/0.3055, allocations: 16.84 kB / 0.5633 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.3058, allocations: 221 kB / 0.5635 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.3059, allocations: 4.375 kB / 0.5635 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.3059, allocations: 12.12 kB / 0.5635 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.306, allocations: 53.61 kB / 0.5636 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3061, allocations: 0 / 0.5636 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.3061, allocations: 4 kB / 0.5636 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3061, allocations: 0 / 0.5636 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.71e-05/0.3061, allocations: 19.98 kB / 0.5636 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.3066, allocations: 296.8 kB / 0.5639 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.3067, allocations: 58.62 kB / 0.5639 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.504e-05/0.3068, allocations: 20.84 kB / 0.564 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.3068, allocations: 0 / 0.564 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.307, allocations: 71.39 kB / 0.564 GB, free: 468 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.307, allocations: 0 / 0.564 GB, free: 468 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005495/0.3075, allocations: 189.2 kB / 0.5642 GB, free: 272 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.3076, allocations: 59.41 kB / 0.5643 GB, free: 200 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.3079, allocations: 270.8 kB / 0.5645 GB, free: 15.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.3079, allocations: 25.7 kB / 0.5646 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.529e-05/0.308, allocations: 112.1 kB / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.308, allocations: 31.77 kB / 0.5647 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.3081, allocations: 21.72 kB / 0.5647 GB, free: 15.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3082, allocations: 338.8 kB / 0.565 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.898e-05/0.3083, allocations: 20 kB / 0.5651 GB, free: 15.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.046e-05/0.3083, allocations: 41.58 kB / 0.5651 GB, free: 15.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.3085, allocations: 57.7 kB / 0.5652 GB, free: 15.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3085, allocations: 0 / 0.5652 GB, free: 15.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001931/0.3087, allocations: 113.5 kB / 0.5653 GB, free: 15.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.3087, allocations: 8.031 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3087, allocations: 0 / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3087, allocations: 0 / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.779e-05/0.3088, allocations: 16 kB / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3088, allocations: 0 / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.903e-05/0.3088, allocations: 7.922 kB / 0.5653 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3088, allocations: 8 kB / 0.5653 GB, free: 15.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001217/0.309, allocations: 140.4 kB / 0.5654 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.309, allocations: 19.91 kB / 0.5655 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002514/0.3092, allocations: 119 kB / 0.5656 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.3093, allocations: 3.984 kB / 0.5656 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3093, allocations: 0 / 0.5656 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.3093, allocations: 3.938 kB / 0.5656 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004643/0.3097, allocations: 399.3 kB / 0.566 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3097, allocations: 4 kB / 0.566 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.161e-05/0.3098, allocations: 8 kB / 0.566 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3098, allocations: 32 / 0.566 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3098, allocations: 11.92 kB / 0.566 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.3098, allocations: 3.938 kB / 0.566 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3098, allocations: 4 kB / 0.566 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.31, allocations: 208.6 kB / 0.5662 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.3101, allocations: 89.02 kB / 0.5663 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.3101, allocations: 12.31 kB / 0.5663 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.3102, allocations: 4 kB / 0.5663 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.3102, allocations: 11.98 kB / 0.5663 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.3102, allocations: 4 kB / 0.5663 GB, free: 13.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001832/0.3104, allocations: 204.6 kB / 0.5665 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3104, allocations: 0 / 0.5665 GB, free: 13.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.3107, allocations: 23.94 kB / 0.5665 GB, free: 13.73 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00164/0.3123, allocations: 463.6 kB / 0.567 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.3125, allocations: 51.97 kB / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3125, allocations: 0 / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.409e-05/0.3126, allocations: 31.92 kB / 0.567 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.3129, allocations: 25.45 kB / 0.5671 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000553/0.3135, allocations: 329.2 kB / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.3138, allocations: 0.7274 MB / 0.5681 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.3139, allocations: 15.44 kB / 0.5681 GB, free: 12.21 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3139, allocations: 0 / 0.5681 GB, free: 12.21 MB / 414.1 MB Notification: Performance of Templates: time 0.004057/0.3179, allocations: 2.11 MB / 0.5702 GB, free: 10.11 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches