Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001348/0.001348, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001651/0.001651, allocations: 213.9 kB / 23.73 MB, free: 4.16 MB / 14.72 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.424/1.424, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] 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.2173/0.2173, allocations: 44.94 MB / 358.8 MB, free: 6.102 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 63.89 kB / 0.4931 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3182, allocations: 65.47 MB / 0.557 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.161/0.4792, allocations: 119.7 MB / 0.6739 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006167/0.4854, allocations: 4.244 MB / 0.678 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.4855, allocations: 0 / 0.678 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003529/0.4859, allocations: 59.59 kB / 0.6781 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.4879, allocations: 0.7501 MB / 0.6788 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.4883, allocations: 158.8 kB / 0.679 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005466/0.4888, allocations: 386.1 kB / 0.6793 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.869e-05/0.4889, allocations: 13.8 kB / 0.6793 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.4891, allocations: 159.4 kB / 0.6795 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.4894, allocations: 191.4 kB / 0.6797 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.4895, allocations: 8 kB / 0.6797 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.4907, allocations: 0.6123 MB / 0.6803 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.383e-05/0.4908, allocations: 39.83 kB / 0.6803 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.491, allocations: 99.58 kB / 0.6804 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007836/0.4917, allocations: 468.3 kB / 0.6809 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.423e-06/0.4917, allocations: 3.984 kB / 0.6809 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4917, allocations: 0 / 0.6809 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.4918, allocations: 0 / 0.6809 GB, free: 8.254 MB / 0.5137 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.00108/0.4928, allocations: 0.5383 MB / 0.6814 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.4929, allocations: 12.03 kB / 0.6814 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.837e-05/0.493, allocations: 58.73 kB / 0.6815 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.4931, allocations: 24.84 kB / 0.6815 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.4935, allocations: 174.2 kB / 0.6816 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/0.4937, allocations: 230.7 kB / 0.6819 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.4937, allocations: 28.12 kB / 0.6819 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006403/0.4943, allocations: 0.498 MB / 0.6824 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.4944, allocations: 3.938 kB / 0.6824 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.4944, allocations: 12 kB / 0.6824 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.4944, allocations: 8 kB / 0.6824 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008835/0.4953, allocations: 0.7196 MB / 0.6831 GB, free: 5.777 MB / 0.5137 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.001373/0.4967, allocations: 0.9986 MB / 0.6841 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.4971, allocations: 171.6 kB / 0.6842 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.4972, allocations: 85.41 kB / 0.6843 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001496/0.4987, allocations: 0.6881 MB / 0.685 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.4987, allocations: 34.56 kB / 0.685 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.4987, allocations: 0 / 0.685 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006735/0.4994, allocations: 217.1 kB / 0.6852 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.4995, allocations: 55.41 kB / 0.6853 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.4997, allocations: 234.8 kB / 0.6855 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.4997, allocations: 33.64 kB / 0.6855 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.4999, allocations: 215.6 kB / 0.6857 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.4999, allocations: 55.53 kB / 0.6858 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.5, allocations: 86.03 kB / 0.6859 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.5002, allocations: 334.8 kB / 0.6862 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.06e-05/0.5003, allocations: 48.84 kB / 0.6863 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003241/0.5006, allocations: 321.2 kB / 0.6866 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004904/0.5011, allocations: 420.3 kB / 0.687 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.5011, allocations: 4 kB / 0.687 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005808/0.5017, allocations: 373.5 kB / 0.6873 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.5017, allocations: 8 kB / 0.6873 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.5017, allocations: 12 kB / 0.6873 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.288e-05/0.5018, allocations: 19.92 kB / 0.6874 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/0.5021, allocations: 103.8 kB / 0.6875 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-05/0.5021, allocations: 19.94 kB / 0.6875 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.5023, allocations: 15.98 kB / 0.6875 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.5024, allocations: 28.38 kB / 0.6875 GB, free: 0.8281 MB / 0.5137 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.0001495/0.5025, allocations: 153.6 kB / 0.6877 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.5026, allocations: 23.86 kB / 0.6877 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.5029, allocations: 151.7 kB / 0.6878 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.5029, allocations: 4 kB / 0.6878 GB, free: 492 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5029, allocations: 4 kB / 0.6878 GB, free: 488 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.5029, allocations: 0 / 0.6878 GB, free: 488 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005778/0.5035, allocations: 411.1 kB / 0.6882 GB, free: 20 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.5035, allocations: 4 kB / 0.6882 GB, free: 16 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.5037, allocations: 31.98 kB / 0.6883 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.5037, allocations: 0 / 0.6883 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.5037, allocations: 7.938 kB / 0.6883 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5037, allocations: 0 / 0.6883 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5037, allocations: 0 / 0.6883 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.5039, allocations: 232.7 kB / 0.6885 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.96e-05/0.504, allocations: 23.89 kB / 0.6885 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.504, allocations: 7.953 kB / 0.6885 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.5042, allocations: 11.98 kB / 0.6885 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.5043, allocations: 7.984 kB / 0.6885 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.5043, allocations: 8 kB / 0.6886 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001325/0.5044, allocations: 152.5 kB / 0.6887 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5044, allocations: 0 / 0.6887 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000502/0.5049, allocations: 95.88 kB / 0.6888 GB, free: 15.43 MB / 0.5294 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.0007688/0.5057, allocations: 0.8154 MB / 0.6896 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00033/0.506, allocations: 173.6 kB / 0.6897 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.506, allocations: 0 / 0.6897 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.08e-05/0.5061, allocations: 35.92 kB / 0.6898 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.5065, allocations: 49.17 kB / 0.6898 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/0.5099, allocations: 2.738 MB / 0.6925 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.51, allocations: 116.6 kB / 0.6926 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002162/0.5102, allocations: 50.98 kB / 0.6927 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.5103, allocations: 63.36 kB / 0.6927 GB, free: 11 MB / 0.5294 GB Notification: Performance of SimCode: time 8.31e-07/0.5103, allocations: 4 kB / 0.6927 GB, free: 11 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03242/0.5427, allocations: 6.018 MB / 0.6986 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.82, allocations: 11.25 kB / 0.6986 GB, free: 5.141 MB / 0.5294 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.810717080254108]