Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2276/0.2276, allocations: 46.97 MB / 361.6 MB, free: 4.035 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002284/0.002284, allocations: 55.91 kB / 0.4974 GB, free: 7.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3127, allocations: 66.05 MB / 0.5619 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003081/0.3158, allocations: 1.706 MB / 0.5636 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.3176, allocations: 0.9714 MB / 0.5645 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.732e-05/0.3176, allocations: 4 kB / 0.5645 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002555/0.3179, allocations: 43.77 kB / 0.5645 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.3182, allocations: 99.59 kB / 0.5646 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.3184, allocations: 83.66 kB / 0.5647 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.3186, allocations: 95.75 kB / 0.5648 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.901e-05/0.3187, allocations: 11.94 kB / 0.5648 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.249e-05/0.3188, allocations: 43.78 kB / 0.5649 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.401e-05/0.3188, allocations: 35.78 kB / 0.5649 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.3189, allocations: 8 kB / 0.5649 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.65e-05/0.319, allocations: 39.98 kB / 0.5649 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.338e-05/0.319, allocations: 27.91 kB / 0.565 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.208e-05/0.3191, allocations: 23.81 kB / 0.565 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.3193, allocations: 137.8 kB / 0.5651 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3193, allocations: 0 / 0.5651 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3193, allocations: 3.938 kB / 0.5651 GB, free: 0.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.3193, allocations: 0 / 0.5651 GB, free: 0.793 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.0005432/0.3199, allocations: 349.5 kB / 0.5655 GB, free: 432 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.3199, allocations: 8.031 kB / 0.5655 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.3199, allocations: 16.89 kB / 0.5655 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.3202, allocations: 150.3 kB / 0.5656 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.3202, allocations: 4.375 kB / 0.5656 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.3202, allocations: 8.125 kB / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.3204, allocations: 53.67 kB / 0.5657 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3204, allocations: 0 / 0.5657 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3204, allocations: 7.984 kB / 0.5657 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3204, allocations: 7.922 kB / 0.5657 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.697e-05/0.3205, allocations: 23.92 kB / 0.5657 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.3209, allocations: 236.6 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.321, allocations: 54.69 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.906e-05/0.3211, allocations: 20.84 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.3211, allocations: 3.938 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.3213, allocations: 67.39 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.3213, allocations: 3.938 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005604/0.3218, allocations: 189.5 kB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.3219, allocations: 59.31 kB / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.3221, allocations: 226.6 kB / 0.5666 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.3221, allocations: 25.7 kB / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.937e-05/0.3222, allocations: 108.1 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.3222, allocations: 23.84 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.3223, allocations: 21.72 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3224, allocations: 330.8 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.166e-05/0.3225, allocations: 19.98 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.295e-05/0.3226, allocations: 37.7 kB / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.3227, allocations: 61.64 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3227, allocations: 4 kB / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001988/0.3229, allocations: 105.5 kB / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3229, allocations: 11.98 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3229, allocations: 0 / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.3229, allocations: 0 / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.735e-05/0.323, allocations: 12 kB / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.323, allocations: 4 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.3231, allocations: 3.984 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.3231, allocations: 4 kB / 0.5673 GB, free: 14.39 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.0001154/0.3232, allocations: 129.8 kB / 0.5674 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.3232, allocations: 15.91 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.3235, allocations: 123 kB / 0.5676 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3235, allocations: 4 kB / 0.5676 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3235, allocations: 0 / 0.5676 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3235, allocations: 0 / 0.5676 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004809/0.324, allocations: 358.9 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.324, allocations: 0 / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.256e-05/0.324, allocations: 15.88 kB / 0.5679 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.324, allocations: 288 / 0.5679 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.324, allocations: 8.031 kB / 0.5679 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.324, allocations: 0 / 0.5679 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.324, allocations: 7.875 kB / 0.5679 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.3243, allocations: 216.2 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.3243, allocations: 11.95 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.3244, allocations: 4 kB / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.137e-05/0.3244, allocations: 0 / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.3245, allocations: 15.92 kB / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.3245, allocations: 4 kB / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001526/0.3246, allocations: 159.2 kB / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3246, allocations: 4 kB / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.3249, allocations: 20 kB / 0.5683 GB, free: 13.23 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 (9): * Single equations (assignments): 7 * 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.001803/0.3267, allocations: 497.5 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.3269, allocations: 71.83 kB / 0.5689 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3269, allocations: 0 / 0.5689 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.247e-05/0.327, allocations: 31.92 kB / 0.5689 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.3274, allocations: 22.48 kB / 0.5689 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005321/0.3279, allocations: 280.5 kB / 0.5692 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.328, allocations: 104.7 kB / 0.5693 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.328, allocations: 19.56 kB / 0.5693 GB, free: 12.38 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.328, allocations: 0 / 0.5693 GB, free: 12.38 MB / 414.1 MB Notification: Performance of Templates: time 0.00411/0.3322, allocations: 2.022 MB / 0.5713 GB, free: 10.37 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.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: 7.963666611991357]