Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.00139/0.00139, allocations: 99.64 kB / 21.18 MB, free: 0.6445 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.001735/0.001735, allocations: 215.5 kB / 24.48 MB, free: 3.934 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.503/1.503, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.2388/0.2388, allocations: 46.96 MB / 361.6 MB, free: 4.031 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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 71.89 kB / 0.4974 GB, free: 7.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3069, allocations: 66.03 MB / 0.5619 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003438/0.3104, allocations: 1.71 MB / 0.5636 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.3122, allocations: 0.9715 MB / 0.5645 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.927e-05/0.3123, allocations: 4 kB / 0.5645 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.3126, allocations: 47.75 kB / 0.5646 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000336/0.313, allocations: 95.59 kB / 0.5646 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.3132, allocations: 79.67 kB / 0.5647 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.3134, allocations: 115.6 kB / 0.5648 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3135, allocations: 7.984 kB / 0.5648 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.395e-05/0.3136, allocations: 39.8 kB / 0.5649 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.982e-05/0.3136, allocations: 35.78 kB / 0.5649 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.3137, allocations: 4 kB / 0.5649 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.972e-05/0.3138, allocations: 39.98 kB / 0.565 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.57e-05/0.3138, allocations: 19.92 kB / 0.565 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.728e-05/0.3139, allocations: 35.78 kB / 0.565 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.3141, allocations: 129.8 kB / 0.5651 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3141, allocations: 0 / 0.5651 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3141, allocations: 4 kB / 0.5651 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3141, allocations: 0 / 0.5651 GB, free: 0.7852 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.0005983/0.3147, allocations: 349.5 kB / 0.5655 GB, free: 424 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3148, allocations: 12.03 kB / 0.5655 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.3148, allocations: 8.891 kB / 0.5655 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.3151, allocations: 162.3 kB / 0.5656 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.3151, allocations: 384 / 0.5656 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.3151, allocations: 8.125 kB / 0.5656 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.3153, allocations: 57.61 kB / 0.5657 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3153, allocations: 0 / 0.5657 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.3153, allocations: 4 kB / 0.5657 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.3153, allocations: 4 kB / 0.5657 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.802e-05/0.3154, allocations: 15.98 kB / 0.5657 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.3158, allocations: 240.6 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.316, allocations: 58.61 kB / 0.566 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.804e-05/0.3161, allocations: 20.84 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.3161, allocations: 7.938 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.3162, allocations: 63.39 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.3162, allocations: 4 kB / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005958/0.3168, allocations: 185.3 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.3169, allocations: 51.41 kB / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.3171, allocations: 222.6 kB / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.3172, allocations: 29.7 kB / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.983e-05/0.3172, allocations: 116.1 kB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.3173, allocations: 19.86 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.764e-05/0.3173, allocations: 21.7 kB / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.3175, allocations: 330.8 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.011e-05/0.3176, allocations: 16 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.141e-05/0.3176, allocations: 49.55 kB / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.3178, allocations: 61.7 kB / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3178, allocations: 384 / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001998/0.318, allocations: 105.5 kB / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.318, allocations: 4 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.318, allocations: 0 / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.318, allocations: 4 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.3181, allocations: 23.98 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3181, allocations: 4.031 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.3182, allocations: 4 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.3182, allocations: 0 / 0.5673 GB, free: 14.38 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.0001324/0.3183, allocations: 144.6 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.3183, allocations: 15.91 kB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.3186, allocations: 115.1 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3186, allocations: 3.938 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3186, allocations: 0 / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3186, allocations: 0 / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004839/0.3191, allocations: 358.9 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3191, allocations: 288 / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.214e-05/0.3191, allocations: 11.98 kB / 0.5679 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.3191, allocations: 4 kB / 0.5679 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3192, allocations: 7.938 kB / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3192, allocations: 0 / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.3192, allocations: 7.938 kB / 0.5679 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.3194, allocations: 208.5 kB / 0.5681 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.801e-05/0.3195, allocations: 7.953 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.3195, allocations: 11.98 kB / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.3196, allocations: 4.031 kB / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.3196, allocations: 11.92 kB / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.3196, allocations: 4 kB / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001554/0.3198, allocations: 159.2 kB / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3198, allocations: 3.938 kB / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.32, allocations: 24 kB / 0.5684 GB, free: 13.22 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.001853/0.3219, allocations: 488.5 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.3221, allocations: 59.92 kB / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3221, allocations: 0 / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.852e-05/0.3222, allocations: 31.92 kB / 0.5689 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.3225, allocations: 35.84 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005537/0.3231, allocations: 280.7 kB / 0.5692 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.3232, allocations: 96.73 kB / 0.5693 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.3232, allocations: 19.44 kB / 0.5693 GB, free: 12.38 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3232, allocations: 0 / 0.5693 GB, free: 12.38 MB / 414.1 MB Notification: Performance of Templates: time 0.004336/0.3276, allocations: 2.019 MB / 0.5713 GB, free: 10.38 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.797517508268356]