Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.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.001125/0.001125, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.0056/0.0056, allocations: 160.5 kB / 24.7 MB, free: 9.418 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.8502/0.8502, allocations: 177.1 MB / 205 MB, free: 5.73 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.2273/0.2273, allocations: 34.26 MB / 295.7 MB, free: 0.6914 MB / 266.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.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 443.5 MB, free: 1.133 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.71e-05, allocations: 10.22 kB / 443.5 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.2693/0.2693, allocations: 119.7 MB / 0.55 GB, free: 8.617 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003043/0.2724, allocations: 4.241 MB / 0.5541 GB, free: 4.375 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.928e-05/0.2724, allocations: 8 kB / 0.5541 GB, free: 4.367 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.2727, allocations: 55.59 kB / 0.5542 GB, free: 4.312 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008697/0.2736, allocations: 0.7689 MB / 0.5549 GB, free: 3.539 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.2738, allocations: 166.1 kB / 0.5551 GB, free: 3.383 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.2742, allocations: 381.9 kB / 0.5555 GB, free: 3.008 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.777e-05/0.2742, allocations: 17.75 kB / 0.5555 GB, free: 2.992 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.2744, allocations: 207.4 kB / 0.5557 GB, free: 2.789 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.2746, allocations: 175.6 kB / 0.5558 GB, free: 2.617 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.2746, allocations: 8 kB / 0.5558 GB, free: 2.609 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00056/0.2751, allocations: 0.6121 MB / 0.5564 GB, free: 1.996 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.262e-05/0.2752, allocations: 51.75 kB / 0.5565 GB, free: 1.945 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.992e-05/0.2753, allocations: 83.81 kB / 0.5566 GB, free: 1.863 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004669/0.2757, allocations: 494.6 kB / 0.557 GB, free: 1.379 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.2757, allocations: 4 kB / 0.5571 GB, free: 1.375 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2757, allocations: 0 / 0.5571 GB, free: 1.375 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.2757, allocations: 3.469 kB / 0.5571 GB, free: 1.375 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006966/0.2764, allocations: 0.5369 MB / 0.5576 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.2765, allocations: 12.03 kB / 0.5576 GB, free: 0.8008 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.043e-05/0.2766, allocations: 24.84 kB / 0.5576 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004877/0.277, allocations: 173.4 kB / 0.5578 GB, free: 0.582 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.2771, allocations: 225.6 kB / 0.558 GB, free: 324 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.2772, allocations: 24.38 kB / 0.558 GB, free: 300 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.2775, allocations: 0.4987 MB / 0.5585 GB, free: 15.73 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2776, allocations: 4.125 kB / 0.5585 GB, free: 15.73 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.2776, allocations: 15.94 kB / 0.5585 GB, free: 15.71 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.2776, allocations: 11.98 kB / 0.5585 GB, free: 15.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000451/0.278, allocations: 0.7159 MB / 0.5592 GB, free: 14.98 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007406/0.2788, allocations: 0.9643 MB / 0.5602 GB, free: 13.96 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.279, allocations: 156.6 kB / 0.5603 GB, free: 13.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.828e-05/0.2791, allocations: 81.48 kB / 0.5604 GB, free: 13.72 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007316/0.2798, allocations: 0.6953 MB / 0.5611 GB, free: 13.01 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.2799, allocations: 34.56 kB / 0.5611 GB, free: 12.97 MB / 474.7 MB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.2799, allocations: 7.984 kB / 0.5611 GB, free: 12.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004008/0.2803, allocations: 217.4 kB / 0.5613 GB, free: 12.75 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.2803, allocations: 51.41 kB / 0.5614 GB, free: 12.68 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.2804, allocations: 227.7 kB / 0.5616 GB, free: 12.45 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.2804, allocations: 29.7 kB / 0.5616 GB, free: 12.42 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.88e-05/0.2805, allocations: 219.5 kB / 0.5618 GB, free: 12.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.2805, allocations: 59.47 kB / 0.5619 GB, free: 12.14 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-05/0.2806, allocations: 86.09 kB / 0.562 GB, free: 12.05 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.057e-05/0.2807, allocations: 330.8 kB / 0.5623 GB, free: 11.72 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.211e-05/0.2807, allocations: 48.95 kB / 0.5623 GB, free: 11.67 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.2809, allocations: 327.3 kB / 0.5626 GB, free: 11.22 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.2811, allocations: 420.3 kB / 0.563 GB, free: 10.68 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2811, allocations: 0 / 0.563 GB, free: 10.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003217/0.2814, allocations: 377.6 kB / 0.5634 GB, free: 10.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2815, allocations: 12 kB / 0.5634 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.2815, allocations: 8 kB / 0.5634 GB, free: 10.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.2815, allocations: 12 kB / 0.5634 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.2817, allocations: 111.8 kB / 0.5635 GB, free: 10.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.2817, allocations: 15.94 kB / 0.5636 GB, free: 10.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.2818, allocations: 16 kB / 0.5636 GB, free: 10.13 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.2818, allocations: 35.08 kB / 0.5636 GB, free: 10.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * 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 7.944e-05/0.2819, allocations: 159.3 kB / 0.5638 GB, free: 9.934 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.2819, allocations: 15.91 kB / 0.5638 GB, free: 9.918 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/0.2821, allocations: 153.7 kB / 0.5639 GB, free: 9.762 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.2821, allocations: 0 / 0.5639 GB, free: 9.762 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2821, allocations: 0 / 0.5639 GB, free: 9.762 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2821, allocations: 0 / 0.5639 GB, free: 9.762 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.2824, allocations: 389.6 kB / 0.5643 GB, free: 9.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2824, allocations: 4 kB / 0.5643 GB, free: 9.336 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.85e-05/0.2825, allocations: 27.92 kB / 0.5643 GB, free: 9.309 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2825, allocations: 4 kB / 0.5643 GB, free: 9.305 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-06/0.2825, allocations: 3.984 kB / 0.5643 GB, free: 9.301 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2825, allocations: 3.938 kB / 0.5643 GB, free: 9.297 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2825, allocations: 4 kB / 0.5643 GB, free: 9.293 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.2828, allocations: 228.3 kB / 0.5646 GB, free: 9.051 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.2828, allocations: 19.89 kB / 0.5646 GB, free: 9.031 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.2829, allocations: 15.19 kB / 0.5646 GB, free: 9.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.616e-05/0.2829, allocations: 15.92 kB / 0.5646 GB, free: 9.004 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.582e-05/0.283, allocations: 7.984 kB / 0.5646 GB, free: 8.996 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.283, allocations: 11.98 kB / 0.5646 GB, free: 8.984 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.91e-05/0.283, allocations: 145.2 kB / 0.5648 GB, free: 8.844 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.283, allocations: 0 / 0.5648 GB, free: 8.844 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002832/0.2833, allocations: 99.92 kB / 0.5649 GB, free: 8.746 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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): 12 * Array equations: 1 * 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.0001836/0.2835, allocations: 155.1 kB / 0.565 GB, free: 8.586 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001837/0.2837, allocations: 180.2 kB / 0.5652 GB, free: 8.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2837, allocations: 0 / 0.5652 GB, free: 8.41 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.92e-05/0.2837, allocations: 33.73 kB / 0.5652 GB, free: 8.379 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.284, allocations: 47.64 kB / 0.5653 GB, free: 8.336 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006108/0.2846, allocations: 0.5094 MB / 0.5658 GB, free: 7.789 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.417e-05/0.2847, allocations: 112.6 kB / 0.5659 GB, free: 7.66 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.2847, allocations: 36.5 kB / 0.5659 GB, free: 7.625 MB / 474.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2847, allocations: 0 / 0.5659 GB, free: 7.625 MB / 474.7 MB Notification: Performance of Templates: time 0.003211/0.2879, allocations: 3.45 MB / 0.5693 GB, free: 4.203 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.027999271638691]