Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.0009204/0.0009204, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001338/0.002259, 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.0009564/0.0009564, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001307/0.002264, 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 0.988/0.988, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1127/1.101, 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.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.2995/0.2995, allocations: 34.25 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02827/0.3278, allocations: 13.09 MB / 291.3 MB, free: 7.375 MB / 282.7 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 292.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.364e-05, allocations: 2.312 kB / 292.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003374/0.003397, allocations: 1.81 MB / 294.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.005259, allocations: 1.025 MB / 295.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.005363, allocations: 0 / 295.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.005623, allocations: 35.77 kB / 295.6 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000381/0.006004, allocations: 103.4 kB / 295.7 MB, free: 3.234 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.006302, allocations: 75.67 kB / 295.8 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.006539, allocations: 111.6 kB / 295.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.00665, allocations: 11.92 kB / 295.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.006837, allocations: 75.88 kB / 296 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.006947, allocations: 31.84 kB / 296 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.006967, allocations: 4 kB / 296 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.007096, allocations: 47.86 kB / 296 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.007157, allocations: 15.94 kB / 296.1 MB, free: 2.867 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.84e-05/0.007206, allocations: 15.94 kB / 296.1 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.00744, allocations: 95.66 kB / 296.2 MB, free: 2.758 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.965e-05/0.007459, allocations: 0 / 296.2 MB, free: 2.758 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.007461, allocations: 3.938 kB / 296.2 MB, free: 2.754 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.042e-05/0.007481, allocations: 8 kB / 296.2 MB, free: 2.746 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.0005679/0.008049, allocations: 333 kB / 296.5 MB, free: 2.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.00809, allocations: 12.03 kB / 296.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.008139, allocations: 12.92 kB / 296.5 MB, free: 2.375 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.00836, allocations: 150.5 kB / 296.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.008381, allocations: 4.375 kB / 296.7 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.008402, allocations: 4.375 kB / 296.7 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.008546, allocations: 61.75 kB / 296.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.29e-05/0.008589, allocations: 3.938 kB / 296.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.008602, allocations: 4 kB / 296.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.008609, allocations: 4 kB / 296.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.515e-05/0.008644, allocations: 8 kB / 296.8 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002804/0.008924, allocations: 173.8 kB / 296.9 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.009045, allocations: 85.36 kB / 297 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.397e-05/0.009068, allocations: 8.859 kB / 297 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.009083, allocations: 0 / 297 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/0.009216, allocations: 74.09 kB / 297.1 MB, free: 1.727 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.009217, allocations: 0 / 297.1 MB, free: 1.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000374/0.009591, allocations: 113.6 kB / 297.2 MB, free: 1.609 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.009627, allocations: 51.41 kB / 297.3 MB, free: 1.547 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.009769, allocations: 188.8 kB / 297.4 MB, free: 1.348 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.009786, allocations: 25.7 kB / 297.5 MB, free: 1.316 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.721e-05/0.009823, allocations: 92.11 kB / 297.6 MB, free: 1.223 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.009857, allocations: 27.75 kB / 297.6 MB, free: 1.195 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.009905, allocations: 33.62 kB / 297.6 MB, free: 1.156 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.165e-05/0.009996, allocations: 330.7 kB / 297.9 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.343e-05/0.01002, allocations: 10.83 kB / 297.9 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.856e-05/0.01005, allocations: 21.7 kB / 298 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.616e-05/0.0101, allocations: 44.52 kB / 298 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01011, allocations: 0 / 298 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001115/0.01022, allocations: 76.44 kB / 298.1 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.01023, allocations: 4 kB / 298.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01024, allocations: 0 / 298.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.01025, allocations: 0 / 298.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.676e-05/0.01033, allocations: 19.98 kB / 298.1 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.01034, allocations: 3.938 kB / 298.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.103e-05/0.01038, allocations: 8 kB / 298.1 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.01039, allocations: 4.031 kB / 298.1 MB, free: 0.6133 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 8.973e-05/0.01048, allocations: 124.6 kB / 298.2 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/0.01049, allocations: 11.94 kB / 298.3 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.01063, allocations: 79.06 kB / 298.3 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01063, allocations: 0 / 298.3 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-06/0.01063, allocations: 0 / 298.3 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.01064, allocations: 4 kB / 298.3 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.01093, allocations: 287.4 kB / 298.6 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.01093, allocations: 3.984 kB / 298.6 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.253e-05/0.01098, allocations: 12.03 kB / 298.6 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.708e-05/0.01099, allocations: 15.91 kB / 298.6 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.011, allocations: 0 / 298.6 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.01101, allocations: 8 kB / 298.7 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01101, allocations: 384 / 298.7 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.01101, allocations: 0 / 298.7 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.01118, allocations: 219 kB / 298.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.01121, allocations: 8 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-05/0.01127, allocations: 4 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.01131, allocations: 7.984 kB / 298.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.01132, allocations: 4 kB / 298.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.897e-05/0.01139, allocations: 59.62 kB / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01139, allocations: 0 / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002444/0.01163, allocations: 31.92 kB / 299 MB, free: 15.68 MB / 298.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.001968/0.0136, allocations: 0.6339 MB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001294/0.01373, allocations: 44.77 kB / 299.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.01374, allocations: 0 / 299.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.158e-05/0.01378, allocations: 32.77 kB / 299.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.01404, allocations: 38.36 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006021/0.01464, allocations: 235.7 kB / 300 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.774e-05/0.0147, allocations: 63.34 kB / 300 MB, free: 14.94 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.521e-05/0.01476, allocations: 25.08 kB / 300 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.054e-05/0.01485, allocations: 75.34 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of SimCode: time 1.353e-06/0.01485, allocations: 3.938 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of Templates: time 0.005136/0.01998, allocations: 2.036 MB / 302.2 MB, free: 12.83 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.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.026135204359889]