Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001309/0.001309, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001447/0.001447, allocations: 217 kB / 25.13 MB, free: 3.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 230.4 MB / 258.7 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2241/0.2241, allocations: 46.93 MB / 362 MB, free: 4.289 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 75.88 kB / 0.4978 GB, free: 7.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3076, allocations: 66.08 MB / 0.5624 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1691/0.4767, allocations: 137.6 MB / 0.6967 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005847/0.4825, allocations: 4.695 MB / 0.7013 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.4826, allocations: 0 / 0.7013 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003777/0.483, allocations: 67.52 kB / 0.7013 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.485, allocations: 0.7384 MB / 0.7021 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.4854, allocations: 162.4 kB / 0.7022 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005853/0.486, allocations: 386.1 kB / 0.7026 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.533e-05/0.486, allocations: 9.812 kB / 0.7026 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.4863, allocations: 155.5 kB / 0.7027 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003181/0.4866, allocations: 199.3 kB / 0.7029 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.4866, allocations: 8 kB / 0.7029 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.4878, allocations: 0.6201 MB / 0.7035 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.867e-05/0.4879, allocations: 43.81 kB / 0.7036 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.4881, allocations: 111.5 kB / 0.7037 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007424/0.4888, allocations: 465.2 kB / 0.7041 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4888, allocations: 0 / 0.7041 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4888, allocations: 4 kB / 0.7041 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.4888, allocations: 11.88 kB / 0.7041 GB, free: 2.488 MB / 0.5294 GB 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.00116/0.49, allocations: 0.5401 MB / 0.7047 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.49, allocations: 8.031 kB / 0.7047 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.4902, allocations: 24.84 kB / 0.7047 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.4905, allocations: 166.2 kB / 0.7049 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.4907, allocations: 127.9 kB / 0.705 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.4907, allocations: 24.36 kB / 0.705 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007015/0.4914, allocations: 0.5057 MB / 0.7055 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.4914, allocations: 0 / 0.7055 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.4914, allocations: 8 kB / 0.7055 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.4915, allocations: 8 kB / 0.7055 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000937/0.4924, allocations: 0.7664 MB / 0.7063 GB, free: 172 kB / 0.5294 GB 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.001537/0.4939, allocations: 1.198 MB / 0.7074 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004059/0.4943, allocations: 155.8 kB / 0.7076 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.4945, allocations: 89.41 kB / 0.7077 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001508/0.496, allocations: 0.6918 MB / 0.7083 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/0.4961, allocations: 50.5 kB / 0.7084 GB, free: 13.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.4961, allocations: 0 / 0.7084 GB, free: 13.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0007109/0.4968, allocations: 220.9 kB / 0.7086 GB, free: 13.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.4968, allocations: 51.41 kB / 0.7086 GB, free: 13.56 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.497, allocations: 220 kB / 0.7089 GB, free: 13.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.4971, allocations: 25.7 kB / 0.7089 GB, free: 13.31 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.4973, allocations: 231.5 kB / 0.7091 GB, free: 13.08 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.675e-05/0.4973, allocations: 55.62 kB / 0.7092 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.4974, allocations: 86.03 kB / 0.7092 GB, free: 12.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.4976, allocations: 322.8 kB / 0.7095 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.4977, allocations: 56.83 kB / 0.7096 GB, free: 12.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003302/0.498, allocations: 317.2 kB / 0.7099 GB, free: 12.11 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005126/0.4985, allocations: 420.3 kB / 0.7103 GB, free: 11.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.4986, allocations: 4 kB / 0.7103 GB, free: 11.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005981/0.4991, allocations: 380.9 kB / 0.7107 GB, free: 11.19 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.4992, allocations: 8 kB / 0.7107 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.4992, allocations: 12.81 kB / 0.7107 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/0.4992, allocations: 19.94 kB / 0.7107 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/0.4996, allocations: 111.8 kB / 0.7108 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.047e-05/0.4996, allocations: 19.92 kB / 0.7108 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.4998, allocations: 19.94 kB / 0.7109 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/0.4998, allocations: 24 kB / 0.7109 GB, free: 10.98 MB / 0.545 GB 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 0.0001417/0.5, allocations: 154.9 kB / 0.711 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.5, allocations: 23.91 kB / 0.711 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003165/0.5004, allocations: 151.7 kB / 0.7112 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.5004, allocations: 3.984 kB / 0.7112 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5004, allocations: 0 / 0.7112 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5004, allocations: 0 / 0.7112 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005843/0.501, allocations: 411.1 kB / 0.7116 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.501, allocations: 4.062 kB / 0.7116 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.5011, allocations: 31.98 kB / 0.7116 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.5011, allocations: 0 / 0.7116 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.5012, allocations: 4 kB / 0.7116 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5012, allocations: 0 / 0.7116 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5012, allocations: 3.938 kB / 0.7116 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.5014, allocations: 233 kB / 0.7119 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.5015, allocations: 19.89 kB / 0.7119 GB, free: 9.859 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.5015, allocations: 11.95 kB / 0.7119 GB, free: 9.848 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.5017, allocations: 7.984 kB / 0.7119 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.5018, allocations: 7.984 kB / 0.7119 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.5018, allocations: 8 kB / 0.7119 GB, free: 9.824 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001362/0.5019, allocations: 148.5 kB / 0.712 GB, free: 9.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.5019, allocations: 4 kB / 0.7121 GB, free: 9.676 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005065/0.5024, allocations: 103.8 kB / 0.7122 GB, free: 9.574 MB / 0.545 GB 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.0002803/0.5027, allocations: 159.1 kB / 0.7123 GB, free: 9.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003273/0.503, allocations: 165.8 kB / 0.7125 GB, free: 9.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.503, allocations: 256 / 0.7125 GB, free: 9.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.997e-05/0.5031, allocations: 35.92 kB / 0.7125 GB, free: 9.215 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.5036, allocations: 63.19 kB / 0.7126 GB, free: 9.156 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009737/0.5045, allocations: 0.5153 MB / 0.7131 GB, free: 8.613 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.5049, allocations: 0.7285 MB / 0.7138 GB, free: 7.855 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002053/0.5051, allocations: 62.91 kB / 0.7138 GB, free: 7.789 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.733e-05/0.5052, allocations: 23.44 kB / 0.7139 GB, free: 7.766 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.5052, allocations: 0 / 0.7139 GB, free: 7.766 MB / 0.545 GB Notification: Performance of Templates: time 0.007929/0.5131, allocations: 3.451 MB / 0.7172 GB, free: 4.348 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.259103330085054]