Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.0007354/0.0007354, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009556/0.001691, 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.000696/0.000696, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008499/0.001546, 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.9893/0.9893, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.103/1.092, allocations: 53.64 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.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.3224/0.3224, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04532/0.3678, allocations: 13.09 MB / 291.3 MB, free: 7.371 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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 292.6 MB, free: 6.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505e-05/1.674e-05, allocations: 2.312 kB / 292.7 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002305/0.002321, allocations: 1.737 MB / 294.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007061/0.003028, allocations: 0.5685 MB / 295 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.088e-05/0.003078, allocations: 0 / 295 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.003263, allocations: 99.61 kB / 295.1 MB, free: 3.852 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.003448, allocations: 107.5 kB / 295.2 MB, free: 3.746 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.003688, allocations: 119.6 kB / 295.3 MB, free: 3.629 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.003853, allocations: 95.7 kB / 295.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.003957, allocations: 31.89 kB / 295.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.004062, allocations: 75.88 kB / 295.5 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.98e-05/0.004152, allocations: 55.86 kB / 295.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.004165, allocations: 4 kB / 295.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.632e-05/0.004241, allocations: 47.92 kB / 295.6 MB, free: 3.324 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.918e-05/0.00428, allocations: 27.88 kB / 295.6 MB, free: 3.297 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.731e-05/0.004308, allocations: 15.94 kB / 295.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.004445, allocations: 103.5 kB / 295.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.293e-05/0.004458, allocations: 0 / 295.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004459, allocations: 0 / 295.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.004473, allocations: 3.984 kB / 295.7 MB, free: 3.176 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003726/0.004846, allocations: 357 kB / 296.1 MB, free: 2.805 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.004874, allocations: 8.625 kB / 296.1 MB, free: 2.797 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.004903, allocations: 12.92 kB / 296.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.005035, allocations: 149.5 kB / 296.2 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-06/0.005042, allocations: 12.31 kB / 296.3 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.005059, allocations: 8.375 kB / 296.3 MB, free: 2.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.742e-05/0.005147, allocations: 70.88 kB / 296.3 MB, free: 2.516 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.005155, allocations: 192 / 296.3 MB, free: 2.516 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.005162, allocations: 4.125 kB / 296.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.005167, allocations: 3.984 kB / 296.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.951e-05/0.005197, allocations: 17.5 kB / 296.4 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002305/0.005427, allocations: 203 kB / 296.6 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.851e-05/0.005486, allocations: 46.53 kB / 296.6 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.844e-05/0.005504, allocations: 16.8 kB / 296.6 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.005526, allocations: 8 kB / 296.6 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.005548, allocations: 34.56 kB / 296.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 8.11e-07/0.005548, allocations: 0 / 296.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004444/0.005993, allocations: 197.9 kB / 296.9 MB, free: 1.953 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.006022, allocations: 55.41 kB / 296.9 MB, free: 1.887 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.006129, allocations: 201 kB / 297.1 MB, free: 1.672 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.006141, allocations: 25.7 kB / 297.1 MB, free: 1.641 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.693e-05/0.006178, allocations: 104.1 kB / 297.2 MB, free: 1.535 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.006209, allocations: 43.62 kB / 297.3 MB, free: 1.492 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.006245, allocations: 33.69 kB / 297.3 MB, free: 1.453 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.006333, allocations: 330.7 kB / 297.6 MB, free: 1.121 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.006349, allocations: 8 kB / 297.6 MB, free: 1.113 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.857e-05/0.006368, allocations: 16.11 kB / 297.7 MB, free: 1.098 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.974e-05/0.006418, allocations: 51.72 kB / 297.7 MB, free: 1.047 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.006419, allocations: 0 / 297.7 MB, free: 1.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.206e-05/0.006491, allocations: 65.67 kB / 297.8 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.006503, allocations: 5.875 kB / 297.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.006509, allocations: 4 kB / 297.8 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.006517, allocations: 4 kB / 297.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.175e-05/0.006599, allocations: 27.98 kB / 297.8 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.006601, allocations: 7.875 kB / 297.8 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2e-05/0.006621, allocations: 7.984 kB / 297.8 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.006627, allocations: 0 / 297.8 MB, free: 0.9219 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 (13): * Single equations (assignments): 13 * 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 5.459e-05/0.006682, allocations: 120.6 kB / 297.9 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.006702, allocations: 11.98 kB / 298 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.00683, allocations: 103.3 kB / 298.1 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.006833, allocations: 7.984 kB / 298.1 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.006836, allocations: 4 kB / 298.1 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.006839, allocations: 0 / 298.1 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.007098, allocations: 296.3 kB / 298.4 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.0071, allocations: 0 / 298.4 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.279e-05/0.007152, allocations: 27.98 kB / 298.4 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.26e-05/0.007165, allocations: 11.91 kB / 298.4 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.007169, allocations: 4 kB / 298.4 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.007176, allocations: 7.984 kB / 298.4 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.007179, allocations: 3.938 kB / 298.4 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.00718, allocations: 0 / 298.4 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.938e-05/0.00728, allocations: 176.4 kB / 298.6 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.007293, allocations: 7.984 kB / 298.6 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.288e-05/0.007326, allocations: 4 kB / 298.6 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.007352, allocations: 11.92 kB / 298.6 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.007357, allocations: 4 kB / 298.6 MB, free: 76 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.376e-05/0.007401, allocations: 69.53 kB / 298.7 MB, free: 4 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007401, allocations: 0 / 298.7 MB, free: 4 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.000149/0.00755, allocations: 27.98 kB / 298.7 MB, free: 15.97 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.001262/0.008812, allocations: 0.621 MB / 299.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.00892, allocations: 52.72 kB / 299.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.008925, allocations: 0 / 299.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.179e-05/0.008957, allocations: 32.78 kB / 299.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.009133, allocations: 34.86 kB / 299.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.009606, allocations: 278.5 kB / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.507e-05/0.009651, allocations: 75.27 kB / 299.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.552e-05/0.009696, allocations: 20.48 kB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.542e-05/0.009762, allocations: 67.36 kB / 299.9 MB, free: 15.1 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.009762, allocations: 7.938 kB / 299.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of Templates: time 0.003062/0.01282, allocations: 1.783 MB / 301.7 MB, free: 13.33 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.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: 2.939309364184737]