Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.0009422/0.0009422, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.000997/0.000997, allocations: 170.7 kB / 24.91 MB, free: 8.723 MB / 18.57 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.9795/0.9795, allocations: 177.1 MB / 205.3 MB, free: 5.113 MB / 186.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.2297/0.2297, allocations: 32.8 MB / 294.6 MB, free: 1.207 MB / 266.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.806e-06/2.806e-06, allocations: 4 kB / 323.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/3.085e-05, allocations: 3.672 kB / 323.2 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.001932/0.001963, allocations: 1.637 MB / 324.9 MB, free: 8.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006484/0.002611, allocations: 0.5219 MB / 325.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.64e-05/0.002658, allocations: 0 / 325.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001778/0.002836, allocations: 35.7 kB / 325.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.003051, allocations: 79.58 kB / 325.5 MB, free: 7.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.003211, allocations: 95.62 kB / 325.6 MB, free: 7.336 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.00332, allocations: 63.83 kB / 325.7 MB, free: 7.273 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.865e-05/0.003389, allocations: 7.984 kB / 325.7 MB, free: 7.266 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.027e-05/0.003439, allocations: 27.92 kB / 325.7 MB, free: 7.238 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.621e-05/0.003485, allocations: 19.92 kB / 325.7 MB, free: 7.219 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.003496, allocations: 0 / 325.7 MB, free: 7.219 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.834e-05/0.003554, allocations: 39.86 kB / 325.8 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.62e-05/0.00359, allocations: 19.91 kB / 325.8 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.037e-05/0.003611, allocations: 15.94 kB / 325.8 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.003719, allocations: 63.75 kB / 325.9 MB, free: 7.082 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003721, allocations: 0 / 325.9 MB, free: 7.082 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003721, allocations: 0 / 325.9 MB, free: 7.082 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.003725, allocations: 0 / 325.9 MB, free: 7.082 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002733/0.003998, allocations: 285.7 kB / 326.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.00403, allocations: 8.031 kB / 326.1 MB, free: 6.773 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.277e-05/0.004052, allocations: 4.938 kB / 326.1 MB, free: 6.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.004161, allocations: 135.9 kB / 326.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-06/0.004168, allocations: 4.375 kB / 326.3 MB, free: 6.609 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.004186, allocations: 12.36 kB / 326.3 MB, free: 6.598 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.374e-05/0.00426, allocations: 50.95 kB / 326.3 MB, free: 6.539 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.004267, allocations: 192 / 326.3 MB, free: 6.539 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.004274, allocations: 4.125 kB / 326.4 MB, free: 6.535 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.004278, allocations: 0 / 326.4 MB, free: 6.535 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.926e-05/0.004297, allocations: 15.98 kB / 326.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.004461, allocations: 155.8 kB / 326.5 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.004566, allocations: 34.5 kB / 326.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.178e-05/0.004578, allocations: 8.859 kB / 326.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.004591, allocations: 0 / 326.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.004608, allocations: 34.56 kB / 326.6 MB, free: 6.254 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 6.01e-07/0.004608, allocations: 7.938 kB / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002089/0.004817, allocations: 89.83 kB / 326.7 MB, free: 6.152 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.004845, allocations: 55.41 kB / 326.7 MB, free: 6.086 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.825e-05/0.004923, allocations: 140.3 kB / 326.9 MB, free: 5.934 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.004932, allocations: 25.7 kB / 326.9 MB, free: 5.902 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.574e-05/0.004958, allocations: 92.11 kB / 327 MB, free: 5.809 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.004977, allocations: 23.8 kB / 327 MB, free: 5.785 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.004999, allocations: 17.7 kB / 327 MB, free: 5.762 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.005065, allocations: 318.8 kB / 327.3 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.725e-06/0.005073, allocations: 4 kB / 327.4 MB, free: 5.438 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.766e-06/0.005082, allocations: 7.984 kB / 327.4 MB, free: 5.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.546e-05/0.005107, allocations: 32.77 kB / 327.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.005108, allocations: 0 / 327.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.394e-05/0.005152, allocations: 45.62 kB / 327.4 MB, free: 5.344 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.005162, allocations: 8 kB / 327.4 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.005165, allocations: 0 / 327.4 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.005173, allocations: 0 / 327.4 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.063e-05/0.005203, allocations: 8 kB / 327.5 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-06/0.005206, allocations: 0 / 327.5 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.48e-05/0.005221, allocations: 7.984 kB / 327.5 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.005225, allocations: 4 kB / 327.5 MB, free: 5.316 MB / 298.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 4.865e-05/0.005273, allocations: 116.6 kB / 327.6 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.005287, allocations: 7.938 kB / 327.6 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.968e-05/0.005357, allocations: 62.12 kB / 327.6 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.005358, allocations: 0 / 327.6 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.005359, allocations: 320 / 327.6 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.005362, allocations: 0 / 327.6 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.005515, allocations: 210.8 kB / 327.9 MB, free: 4.887 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.005517, allocations: 3.938 kB / 327.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.385e-05/0.00554, allocations: 19.98 kB / 327.9 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.005544, allocations: 4 kB / 327.9 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-06/0.005547, allocations: 0 / 327.9 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.005548, allocations: 0 / 327.9 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.005549, allocations: 0 / 327.9 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.427e-05/0.005613, allocations: 143.5 kB / 328 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.357e-06/0.005623, allocations: 19.83 kB / 328 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.005633, allocations: 3.984 kB / 328 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.748e-05/0.005661, allocations: 4 kB / 328 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.845e-05/0.005679, allocations: 4 kB / 328.1 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.005681, allocations: 0 / 328.1 MB, free: 4.672 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.693e-05/0.005708, allocations: 42.22 kB / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005708, allocations: 0 / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001234/0.005831, allocations: 19.94 kB / 328.1 MB, free: 4.609 MB / 298.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.0009565/0.006788, allocations: 0.4901 MB / 328.6 MB, free: 4.387 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.593e-05/0.006844, allocations: 20.86 kB / 328.6 MB, free: 4.363 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.006845, allocations: 0 / 328.6 MB, free: 4.363 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.711e-05/0.006863, allocations: 20.78 kB / 328.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.006994, allocations: 31.05 kB / 328.7 MB, free: 4.312 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002245/0.007219, allocations: 171.2 kB / 328.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.055e-05/0.007249, allocations: 67.34 kB / 328.9 MB, free: 4.027 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.346e-05/0.007273, allocations: 8.234 kB / 328.9 MB, free: 4.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.007316, allocations: 59.36 kB / 329 MB, free: 3.961 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.007316, allocations: 0 / 329 MB, free: 3.961 MB / 298.7 MB Notification: Performance of Templates: time 0.002356/0.009672, allocations: 1.234 MB / 330.2 MB, free: 2.734 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.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.8869395130313933]