Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001574/0.001574, allocations: 82.64 kB / 21.42 MB, free: 3.078 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.002587/0.002587, allocations: 169 kB / 24.82 MB, free: 8.734 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 1.069/1.069, allocations: 177.1 MB / 205.3 MB, free: 5.523 MB / 186.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.3355/0.3355, allocations: 34.26 MB / 296.1 MB, free: 0.7344 MB / 266.7 MB " [Timeout remaining time 179] 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.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.1.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.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.822e-05, allocations: 2.312 kB / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002758/0.002786, allocations: 1.689 MB / 380.2 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008853/0.003672, allocations: 0.5607 MB / 380.8 MB, free: 128 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.705e-05/0.003739, allocations: 0 / 380.8 MB, free: 128 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000517/0.004256, allocations: 459.1 kB / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003835/0.004639, allocations: 295.1 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.004987, allocations: 171.5 kB / 381.7 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.005223, allocations: 175.6 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.005336, allocations: 16 kB / 381.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.005476, allocations: 119.8 kB / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.005689, allocations: 243.5 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.005709, allocations: 4 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.992e-05/0.005799, allocations: 39.91 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.307e-05/0.005892, allocations: 87.7 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.005932, allocations: 31.75 kB / 382.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.006178, allocations: 199.2 kB / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.006183, allocations: 4 kB / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.006185, allocations: 0 / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.00619, allocations: 0 / 382.6 MB, free: 14.32 MB / 362.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.0006109/0.006801, allocations: 0.7008 MB / 383.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.006853, allocations: 12.02 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.716e-05/0.00691, allocations: 48.66 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.00712, allocations: 244.9 kB / 383.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.007132, allocations: 8.375 kB / 383.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.00715, allocations: 4.375 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.007265, allocations: 58.94 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.007275, allocations: 192 / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.007286, allocations: 8.125 kB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.007291, allocations: 0 / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.669e-05/0.007318, allocations: 19.84 kB / 383.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.007674, allocations: 332.3 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.007829, allocations: 54.97 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.007846, allocations: 7.688 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.007871, allocations: 7.922 kB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.007896, allocations: 41.39 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.973e-06/0.007898, allocations: 0 / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003156/0.008214, allocations: 129.3 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.008241, allocations: 51.41 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003672/0.008608, allocations: 0.6001 MB / 384.9 MB, free: 11.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.008624, allocations: 25.7 kB / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.008782, allocations: 302.7 kB / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.008808, allocations: 23.8 kB / 385.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.008847, allocations: 19.38 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.009016, allocations: 0.5625 MB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.711e-05/0.009033, allocations: 0 / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.172e-05/0.009045, allocations: 4 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.086e-05/0.009086, allocations: 27.67 kB / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.009087, allocations: 0 / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001027/0.00919, allocations: 93.3 kB / 385.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.009208, allocations: 7.984 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.009215, allocations: 0 / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.009233, allocations: 8 kB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.398e-05/0.009296, allocations: 8 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.0093, allocations: 0 / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.6e-05/0.009326, allocations: 4 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.009334, allocations: 7.984 kB / 386 MB, free: 10.72 MB / 362.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 9.093e-05/0.009425, allocations: 152.6 kB / 386.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.009467, allocations: 47.66 kB / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.009639, allocations: 97.42 kB / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.009643, allocations: 4 kB / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.009646, allocations: 0 / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.009651, allocations: 4 kB / 386.3 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003718/0.01002, allocations: 385.9 kB / 386.6 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01002, allocations: 0 / 386.6 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.533e-05/0.01007, allocations: 15.92 kB / 386.6 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.01007, allocations: 3.938 kB / 386.6 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/0.01008, allocations: 0 / 386.6 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.01008, allocations: 4 kB / 386.7 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.01008, allocations: 0 / 386.7 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.01023, allocations: 239.6 kB / 386.9 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.057e-05/0.01026, allocations: 39.67 kB / 386.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.01028, allocations: 4 kB / 386.9 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.24e-05/0.01032, allocations: 8 kB / 386.9 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.01035, allocations: 3.984 kB / 386.9 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.01035, allocations: 0 / 386.9 MB, free: 9.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002384/0.01059, allocations: 394.7 kB / 387.3 MB, free: 9.277 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01059, allocations: 0 / 387.3 MB, free: 9.277 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001729/0.01076, allocations: 20 kB / 387.3 MB, free: 9.258 MB / 362.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.0008895/0.01165, allocations: 395.7 kB / 387.7 MB, free: 9.008 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.01176, allocations: 27.67 kB / 387.8 MB, free: 8.977 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01176, allocations: 0 / 387.8 MB, free: 8.977 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.169e-05/0.01178, allocations: 19.81 kB / 387.8 MB, free: 8.953 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.01204, allocations: 29.83 kB / 387.8 MB, free: 8.922 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006562/0.01269, allocations: 0.5811 MB / 388.4 MB, free: 8.312 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.68e-05/0.01278, allocations: 127.2 kB / 388.5 MB, free: 8.168 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.464e-05/0.01281, allocations: 7.984 kB / 388.5 MB, free: 8.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.832e-05/0.01288, allocations: 82.19 kB / 388.6 MB, free: 8.078 MB / 362.7 MB Notification: Performance of SimCode: time 1.784e-06/0.01288, allocations: 0 / 388.6 MB, free: 8.078 MB / 362.7 MB Notification: Performance of Templates: time 0.004436/0.01732, allocations: 1.505 MB / 390.1 MB, free: 6.582 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.4212198206223547]