Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001264/0.001264, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001658/0.002922, 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.0007221/0.0007221, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001107/0.001829, 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.078/1.078, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.122/1.199, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.2773/0.2773, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02575/0.3031, allocations: 12.53 MB / 289.3 MB, free: 8.672 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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.13e-05, allocations: 4.359 kB / 290.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002424/0.002445, allocations: 1.7 MB / 292.3 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.00403, allocations: 1.305 MB / 293.6 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.296e-05/0.004093, allocations: 1.719 kB / 293.6 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.004242, allocations: 24.19 kB / 293.7 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002349/0.004477, allocations: 89.77 kB / 293.7 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.004707, allocations: 95.03 kB / 293.8 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.004865, allocations: 75.72 kB / 293.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.079e-05/0.004956, allocations: 27.95 kB / 293.9 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.707e-05/0.005043, allocations: 52.66 kB / 294 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.00527, allocations: 27.91 kB / 294 MB, free: 4.879 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.005286, allocations: 4 kB / 294 MB, free: 4.875 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.005458, allocations: 95.81 kB / 294.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.222e-05/0.005501, allocations: 19.92 kB / 294.1 MB, free: 4.762 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.005527, allocations: 11.94 kB / 294.1 MB, free: 4.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.00576, allocations: 131.6 kB / 294.3 MB, free: 4.621 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.452e-05/0.005774, allocations: 0 / 294.3 MB, free: 4.621 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005775, allocations: 3.938 kB / 294.3 MB, free: 4.617 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.005792, allocations: 0 / 294.3 MB, free: 4.617 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005059/0.006298, allocations: 324.6 kB / 294.6 MB, free: 4.277 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.006335, allocations: 8.031 kB / 294.6 MB, free: 4.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.006383, allocations: 8.938 kB / 294.6 MB, free: 4.262 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.006573, allocations: 133.7 kB / 294.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.006589, allocations: 8.375 kB / 294.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.006618, allocations: 4.375 kB / 294.8 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.006789, allocations: 102.4 kB / 294.9 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.006799, allocations: 4.172 kB / 294.9 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.006809, allocations: 4.125 kB / 294.9 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.006815, allocations: 0 / 294.9 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.551e-05/0.006851, allocations: 15.92 kB / 294.9 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002576/0.007108, allocations: 175.1 kB / 295 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.481e-05/0.007173, allocations: 30.56 kB / 295.1 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.304e-05/0.007196, allocations: 16.92 kB / 295.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.007224, allocations: 4 kB / 295.1 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.007248, allocations: 38.44 kB / 295.1 MB, free: 3.652 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.007249, allocations: 4 kB / 295.1 MB, free: 3.648 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003033/0.007552, allocations: 101.5 kB / 295.2 MB, free: 3.543 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.007584, allocations: 55.41 kB / 295.3 MB, free: 3.477 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.007698, allocations: 146.5 kB / 295.4 MB, free: 3.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.00771, allocations: 25.7 kB / 295.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.007748, allocations: 100 kB / 295.6 MB, free: 3.188 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.00777, allocations: 27.73 kB / 295.6 MB, free: 3.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.007806, allocations: 25.7 kB / 295.6 MB, free: 3.129 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.64e-05/0.007902, allocations: 322.8 kB / 295.9 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.319e-05/0.007916, allocations: 8 kB / 295.9 MB, free: 2.797 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.81e-05/0.007954, allocations: 47.42 kB / 296 MB, free: 2.738 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.81e-05/0.007992, allocations: 32.81 kB / 296 MB, free: 2.703 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.007993, allocations: 384 / 296 MB, free: 2.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.629e-05/0.008059, allocations: 65.78 kB / 296.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.008073, allocations: 4 kB / 296.1 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.008079, allocations: 0 / 296.1 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.008088, allocations: 8 kB / 296.1 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.9e-05/0.008167, allocations: 15.98 kB / 296.1 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.008171, allocations: 0 / 296.1 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.063e-05/0.008191, allocations: 7.984 kB / 296.1 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.008196, allocations: 0 / 296.1 MB, free: 2.598 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.402e-05/0.00826, allocations: 124.6 kB / 296.2 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.902e-05/0.008279, allocations: 7.938 kB / 296.2 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.008387, allocations: 70.44 kB / 296.3 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.00839, allocations: 4 kB / 296.3 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.008393, allocations: 3.984 kB / 296.3 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.008396, allocations: 0 / 296.3 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.008612, allocations: 230.7 kB / 296.5 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.008614, allocations: 0 / 296.5 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.114e-05/0.008655, allocations: 23.98 kB / 296.6 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-06/0.008664, allocations: 3.953 kB / 296.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.008666, allocations: 7.938 kB / 296.6 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.008672, allocations: 4 kB / 296.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.008673, allocations: 0 / 296.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.008674, allocations: 0 / 296.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.575e-05/0.008759, allocations: 159.4 kB / 296.7 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.008771, allocations: 4 kB / 296.7 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.373e-05/0.008805, allocations: 7.984 kB / 296.7 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.66e-05/0.008831, allocations: 0 / 296.7 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.008837, allocations: 3.984 kB / 296.8 MB, free: 1.898 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.596e-05/0.008873, allocations: 41.69 kB / 296.8 MB, free: 1.855 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008873, allocations: 4 kB / 296.8 MB, free: 1.852 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001775/0.00905, allocations: 35.88 kB / 296.8 MB, free: 1.816 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001536/0.01059, allocations: 0.6973 MB / 297.5 MB, free: 1.492 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.805e-05/0.01067, allocations: 32.78 kB / 297.6 MB, free: 1.457 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.01068, allocations: 4 kB / 297.6 MB, free: 1.453 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.01e-05/0.0107, allocations: 20.8 kB / 297.6 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.01086, allocations: 34.62 kB / 297.6 MB, free: 1.398 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/0.01128, allocations: 194.9 kB / 297.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.249e-05/0.01132, allocations: 63.34 kB / 297.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.819e-05/0.01137, allocations: 12.72 kB / 297.9 MB, free: 1.082 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.303e-05/0.01144, allocations: 75.3 kB / 298 MB, free: 1.008 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01144, allocations: 0 / 298 MB, free: 1.008 MB / 282.7 MB Notification: Performance of Templates: time 0.003657/0.0151, allocations: 2.117 MB / 300.1 MB, free: 14.91 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/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.1490742517635226]