Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.0009013/0.0009013, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001189/0.002091, 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.0007817/0.0007817, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009457/0.001727, 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.1/1.1, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1236/1.223, allocations: 53.65 MB / 243.3 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.3126/0.3126, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02523/0.3379, 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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.28e-05, allocations: 4.672 kB / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002909/0.002932, allocations: 1.731 MB / 292.4 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.003964, allocations: 0.5815 MB / 292.9 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004452/0.00441, allocations: 0 / 292.9 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000528/0.004938, allocations: 0.4915 MB / 293.4 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004461/0.005384, allocations: 315.2 kB / 293.7 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004468/0.00583, allocations: 173.4 kB / 293.9 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.006084, allocations: 183.6 kB / 294.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.946e-05/0.006174, allocations: 19.91 kB / 294.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.006362, allocations: 151.8 kB / 294.3 MB, free: 4.656 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.006561, allocations: 199.6 kB / 294.4 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.006578, allocations: 0 / 294.4 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.337e-05/0.006671, allocations: 32 kB / 294.5 MB, free: 4.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.882e-05/0.00676, allocations: 79.72 kB / 294.6 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.203e-05/0.006812, allocations: 39.69 kB / 294.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.007067, allocations: 203.1 kB / 294.8 MB, free: 4.113 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.737e-05/0.007084, allocations: 0 / 294.8 MB, free: 4.113 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.007085, allocations: 0 / 294.8 MB, free: 4.113 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.007101, allocations: 0 / 294.8 MB, free: 4.113 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.003701/0.0108, allocations: 0.5961 MB / 295.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.01084, allocations: 15.98 kB / 295.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.01089, allocations: 20.91 kB / 295.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.0111, allocations: 250 kB / 295.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.01112, allocations: 4.375 kB / 295.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.01113, allocations: 4.375 kB / 295.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.01124, allocations: 54.89 kB / 295.7 MB, free: 3.113 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.01125, allocations: 192 / 295.7 MB, free: 3.113 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.01126, allocations: 8.125 kB / 295.7 MB, free: 3.105 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.01126, allocations: 0 / 295.7 MB, free: 3.105 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.177e-05/0.0113, allocations: 11.98 kB / 295.8 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.01159, allocations: 199 kB / 295.9 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.01173, allocations: 33.44 kB / 296 MB, free: 2.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.68e-05/0.01175, allocations: 12.84 kB / 296 MB, free: 2.824 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.01177, allocations: 4 kB / 296 MB, free: 2.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.01179, allocations: 34.5 kB / 296 MB, free: 2.777 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.01179, allocations: 0 / 296 MB, free: 2.777 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003099/0.0121, allocations: 101.6 kB / 296.1 MB, free: 2.672 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.01213, allocations: 51.41 kB / 296.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000405/0.01254, allocations: 0.5283 MB / 296.7 MB, free: 2.066 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.01255, allocations: 29.7 kB / 296.7 MB, free: 2.031 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.181e-05/0.01263, allocations: 145.2 kB / 296.9 MB, free: 1.883 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.01265, allocations: 11.89 kB / 296.9 MB, free: 1.871 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.01268, allocations: 25.7 kB / 296.9 MB, free: 1.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.01279, allocations: 358.7 kB / 297.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.38e-05/0.0128, allocations: 4 kB / 297.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.213e-05/0.01281, allocations: 4 kB / 297.3 MB, free: 1.473 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.228e-05/0.01286, allocations: 31.78 kB / 297.3 MB, free: 1.438 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01286, allocations: 0 / 297.3 MB, free: 1.438 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.706e-05/0.01294, allocations: 65.61 kB / 297.4 MB, free: 1.367 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.01296, allocations: 4 kB / 297.4 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.01296, allocations: 3.984 kB / 297.4 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.01297, allocations: 0 / 297.4 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-05/0.01303, allocations: 16 kB / 297.4 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-06/0.01303, allocations: 4 kB / 297.4 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.2e-05/0.01306, allocations: 0 / 297.4 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.01307, allocations: 3.984 kB / 297.4 MB, free: 1.336 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 (5): * Single equations (assignments): 5 * 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.0031/0.01617, allocations: 116.6 kB / 297.5 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/0.01622, allocations: 31.84 kB / 297.5 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.01637, allocations: 85.23 kB / 297.6 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.01637, allocations: 0 / 297.6 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.01638, allocations: 0 / 297.6 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01638, allocations: 0 / 297.6 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.01667, allocations: 278.6 kB / 297.9 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01667, allocations: 0 / 297.9 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-05/0.01672, allocations: 8 kB / 297.9 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.01675, allocations: 36 kB / 297.9 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01675, allocations: 0 / 297.9 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.01676, allocations: 3.984 kB / 297.9 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.01676, allocations: 0 / 297.9 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01676, allocations: 0 / 297.9 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.01687, allocations: 167.6 kB / 298.1 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.01689, allocations: 7.984 kB / 298.1 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.892e-05/0.01695, allocations: 3.938 kB / 298.1 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.01697, allocations: 8 kB / 298.1 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.01698, allocations: 0 / 298.1 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002319/0.01721, allocations: 287.2 kB / 298.4 MB, free: 272 kB / 282.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.01721, allocations: 0 / 298.4 MB, free: 272 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002077/0.01742, allocations: 27.94 kB / 298.4 MB, free: 244 kB / 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 (5): * Single equations (assignments): 5 * 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.001443/0.01886, allocations: 0.5376 MB / 299 MB, free: 8 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.935e-05/0.01896, allocations: 24.84 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/0.01897, allocations: 12 kB / 299 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.329e-05/0.01899, allocations: 20.78 kB / 299 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003343/0.02234, allocations: 44.28 kB / 299.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009725/0.02331, allocations: 0.5752 MB / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.518e-05/0.0234, allocations: 123.2 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.3e-05/0.02345, allocations: 4 kB / 299.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.067e-05/0.02351, allocations: 63.3 kB / 299.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of SimCode: time 1.312e-06/0.02351, allocations: 0 / 299.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of Templates: time 0.01091/0.03442, allocations: 1.501 MB / 301.3 MB, free: 13.61 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.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.286278674378991]