Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.0009573/0.0009573, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002937/0.003895, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001294/0.001294, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001691/0.002985, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.033/1.033, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09496/1.127, allocations: 53.64 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3209/0.3209, allocations: 32.81 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02602/0.3469, allocations: 12.53 MB / 289.3 MB, free: 8.695 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 290.7 MB, free: 7.602 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/2.021e-05, allocations: 4.516 kB / 290.7 MB, free: 7.598 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.005535/0.005555, allocations: 1.808 MB / 292.5 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.006978, allocations: 1.014 MB / 293.5 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.854e-05/0.007047, allocations: 0.9062 kB / 293.5 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.007245, allocations: 46.88 kB / 293.6 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.007481, allocations: 89.66 kB / 293.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.007651, allocations: 83.59 kB / 293.7 MB, free: 5.168 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.007821, allocations: 107.6 kB / 293.8 MB, free: 5.062 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.496e-05/0.007906, allocations: 8.734 kB / 293.8 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.008041, allocations: 83.75 kB / 293.9 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.964e-05/0.008121, allocations: 27.91 kB / 294 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.008137, allocations: 4 kB / 294 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.286e-05/0.00823, allocations: 43.92 kB / 294 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.192e-05/0.008272, allocations: 11.94 kB / 294 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.008309, allocations: 19.94 kB / 294 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003194/0.0115, allocations: 95.61 kB / 294.1 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.478e-05/0.01152, allocations: 3.938 kB / 294.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01152, allocations: 0 / 294.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.01153, allocations: 0 / 294.1 MB, free: 4.77 MB / 282.7 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.0004619/0.01199, allocations: 328.6 kB / 294.5 MB, free: 4.426 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.01203, allocations: 12.03 kB / 294.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.01206, allocations: 12.92 kB / 294.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.01223, allocations: 138.3 kB / 294.6 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.01224, allocations: 4.375 kB / 294.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.01226, allocations: 8.375 kB / 294.6 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.01237, allocations: 61.77 kB / 294.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.01238, allocations: 7.875 kB / 294.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.01239, allocations: 7.984 kB / 294.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.01239, allocations: 0 / 294.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.957e-05/0.01242, allocations: 8 kB / 294.7 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002123/0.01263, allocations: 169.8 kB / 294.9 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.951e-05/0.01273, allocations: 81.3 kB / 295 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.257e-05/0.01276, allocations: 16.92 kB / 295 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.01277, allocations: 4 kB / 295 MB, free: 3.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001043/0.01287, allocations: 70.08 kB / 295 MB, free: 3.758 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.01287, allocations: 0 / 295 MB, free: 3.758 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002909/0.01316, allocations: 105.8 kB / 295.1 MB, free: 3.648 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.0132, allocations: 51.41 kB / 295.2 MB, free: 3.586 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.01332, allocations: 169 kB / 295.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.01333, allocations: 25.7 kB / 295.4 MB, free: 3.375 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.987e-05/0.01337, allocations: 100.1 kB / 295.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.0134, allocations: 35.67 kB / 295.5 MB, free: 3.238 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.01344, allocations: 21.7 kB / 295.5 MB, free: 3.211 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.149e-05/0.01354, allocations: 326.8 kB / 295.9 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.925e-05/0.01356, allocations: 11.02 kB / 295.9 MB, free: 2.871 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.266e-05/0.0136, allocations: 29.69 kB / 295.9 MB, free: 2.836 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.319e-05/0.01365, allocations: 40.47 kB / 295.9 MB, free: 2.789 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.01365, allocations: 0 / 295.9 MB, free: 2.789 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.897e-05/0.01375, allocations: 76.38 kB / 296 MB, free: 2.707 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.01376, allocations: 4 kB / 296 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01377, allocations: 3.984 kB / 296 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.01378, allocations: 4 kB / 296 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.717e-05/0.01385, allocations: 16.03 kB / 296 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.01386, allocations: 4 kB / 296 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.373e-05/0.01389, allocations: 0 / 296 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.0139, allocations: 7.984 kB / 296.1 MB, free: 2.668 MB / 282.7 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 7.022e-05/0.01397, allocations: 116.7 kB / 296.2 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.01399, allocations: 11.94 kB / 296.2 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.01411, allocations: 79.06 kB / 296.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.01411, allocations: 0 / 296.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.01411, allocations: 0 / 296.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.01412, allocations: 4 kB / 296.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003286/0.0174, allocations: 295.6 kB / 296.5 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.01741, allocations: 3.984 kB / 296.6 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-05/0.01745, allocations: 15.98 kB / 296.6 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.01746, allocations: 11.91 kB / 296.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01746, allocations: 3.938 kB / 296.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.01747, allocations: 0 / 296.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.01747, allocations: 4 kB / 296.6 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01747, allocations: 0 / 296.6 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.0176, allocations: 219 kB / 296.8 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.01762, allocations: 11.97 kB / 296.8 MB, free: 1.844 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.628e-05/0.01768, allocations: 4 kB / 296.8 MB, free: 1.84 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.01771, allocations: 7.984 kB / 296.8 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.01772, allocations: 4 kB / 296.8 MB, free: 1.828 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.828e-05/0.01777, allocations: 48.34 kB / 296.9 MB, free: 1.777 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01777, allocations: 0 / 296.9 MB, free: 1.777 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002046/0.01797, allocations: 27.88 kB / 296.9 MB, free: 1.75 MB / 282.7 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.001696/0.01967, allocations: 0.632 MB / 297.5 MB, free: 1.473 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.01977, allocations: 52.69 kB / 297.6 MB, free: 1.418 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.01978, allocations: 0 / 297.6 MB, free: 1.418 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.893e-05/0.01982, allocations: 28.8 kB / 297.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.02007, allocations: 45.48 kB / 297.7 MB, free: 1.352 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003534/0.0236, allocations: 224.1 kB / 297.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.528e-05/0.02365, allocations: 71.33 kB / 297.9 MB, free: 1.008 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.477e-05/0.02369, allocations: 13.28 kB / 298 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.815e-05/0.02377, allocations: 71.36 kB / 298 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02377, allocations: 0 / 298 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of Templates: time 0.007368/0.03114, allocations: 2.032 MB / 300.1 MB, free: 14.93 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.196315717883408]