Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.00119/0.00119, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00202/0.00321, 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.001205/0.001205, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001617/0.002822, 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.116/1.116, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1166/1.232, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.2905/0.2905, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02925/0.3197, allocations: 12.53 MB / 289.3 MB, free: 8.68 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 290.7 MB, free: 7.594 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.96e-05/3.151e-05, allocations: 2.312 kB / 290.7 MB, free: 7.59 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003676/0.003708, allocations: 1.807 MB / 292.5 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.005396, allocations: 1.024 MB / 293.5 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.005496, allocations: 0 / 293.5 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.005812, allocations: 45.58 kB / 293.6 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003005/0.006112, allocations: 88.78 kB / 293.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.006342, allocations: 83.61 kB / 293.7 MB, free: 5.168 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.006552, allocations: 107.6 kB / 293.8 MB, free: 5.062 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.006675, allocations: 8.734 kB / 293.9 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.006848, allocations: 87.75 kB / 293.9 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.006969, allocations: 23.91 kB / 294 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.006995, allocations: 8 kB / 294 MB, free: 4.938 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.007121, allocations: 43.92 kB / 294 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.26e-05/0.007183, allocations: 11.94 kB / 294 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.869e-05/0.007232, allocations: 15.94 kB / 294 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.007486, allocations: 103.5 kB / 294.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.439e-05/0.00751, allocations: 4 kB / 294.1 MB, free: 4.762 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.007512, allocations: 0 / 294.1 MB, free: 4.762 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.32e-05/0.007536, allocations: 0 / 294.1 MB, free: 4.762 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.00064/0.008176, allocations: 340.5 kB / 294.5 MB, free: 4.406 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.008226, allocations: 8.031 kB / 294.5 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.842e-05/0.008275, allocations: 12.92 kB / 294.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.008494, allocations: 142.3 kB / 294.6 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.008518, allocations: 8.375 kB / 294.6 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.008539, allocations: 384 / 294.6 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.008698, allocations: 61.77 kB / 294.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.008713, allocations: 7.875 kB / 294.7 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.008724, allocations: 7.984 kB / 294.7 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.008731, allocations: 0 / 294.7 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.238e-05/0.008763, allocations: 12 kB / 294.7 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.009038, allocations: 158 kB / 294.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.009157, allocations: 85.34 kB / 295 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.78e-05/0.009185, allocations: 16.86 kB / 295 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.009198, allocations: 0 / 295 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001361/0.009334, allocations: 70.03 kB / 295.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.009337, allocations: 0 / 295.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004138/0.00975, allocations: 121.7 kB / 295.2 MB, free: 3.625 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.009794, allocations: 51.41 kB / 295.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.009942, allocations: 184.8 kB / 295.4 MB, free: 3.367 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.009963, allocations: 29.7 kB / 295.4 MB, free: 3.332 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.01, allocations: 92.12 kB / 295.5 MB, free: 3.238 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.01003, allocations: 23.83 kB / 295.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.01007, allocations: 17.72 kB / 295.6 MB, free: 3.191 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.722e-05/0.01017, allocations: 330.8 kB / 295.9 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.116e-05/0.01019, allocations: 10.83 kB / 295.9 MB, free: 2.848 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.875e-05/0.01022, allocations: 25.83 kB / 295.9 MB, free: 2.816 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.835e-05/0.01028, allocations: 48.45 kB / 296 MB, free: 2.762 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.01028, allocations: 4 kB / 296 MB, free: 2.758 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.036e-05/0.01037, allocations: 72.38 kB / 296 MB, free: 2.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.01039, allocations: 4 kB / 296.1 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01039, allocations: 0 / 296.1 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.0104, allocations: 4 kB / 296.1 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.466e-05/0.0105, allocations: 15.98 kB / 296.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.0105, allocations: 4 kB / 296.1 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.218e-05/0.01054, allocations: 4 kB / 296.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.01054, allocations: 4 kB / 296.1 MB, free: 2.645 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 9.436e-05/0.01064, allocations: 120.6 kB / 296.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.01066, allocations: 19.92 kB / 296.2 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.01081, allocations: 71.23 kB / 296.3 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01081, allocations: 0 / 296.3 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.01081, allocations: 4 kB / 296.3 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.01082, allocations: 3.984 kB / 296.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.01111, allocations: 295.4 kB / 296.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.01112, allocations: 0 / 296.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-05/0.01116, allocations: 12 kB / 296.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.393e-05/0.01117, allocations: 7.953 kB / 296.6 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.01118, allocations: 8.016 kB / 296.6 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.01119, allocations: 7.938 kB / 296.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.01119, allocations: 0 / 296.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.01119, allocations: 0 / 296.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.01133, allocations: 223 kB / 296.8 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.01136, allocations: 4 kB / 296.8 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.205e-05/0.01141, allocations: 7.922 kB / 296.8 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.01144, allocations: 8 kB / 296.9 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.01146, allocations: 7.984 kB / 296.9 MB, free: 1.797 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.46e-05/0.01152, allocations: 43.66 kB / 296.9 MB, free: 1.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01152, allocations: 8 kB / 296.9 MB, free: 1.742 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001591/0.01168, allocations: 23.98 kB / 296.9 MB, free: 1.719 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.001778/0.01345, allocations: 0.6237 MB / 297.6 MB, free: 1.449 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001204/0.01357, allocations: 56.7 kB / 297.6 MB, free: 1.391 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.01358, allocations: 0 / 297.6 MB, free: 1.391 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.467e-05/0.01362, allocations: 28.78 kB / 297.6 MB, free: 1.359 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.01384, allocations: 42.92 kB / 297.7 MB, free: 1.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005578/0.01439, allocations: 219.7 kB / 297.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.34e-05/0.01445, allocations: 67.34 kB / 298 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.747e-05/0.01449, allocations: 21.39 kB / 298 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.924e-05/0.01457, allocations: 67.36 kB / 298.1 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01458, allocations: 0 / 298.1 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of Templates: time 0.004258/0.01883, allocations: 2.039 MB / 300.1 MB, free: 14.89 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.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.14099383354187]