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.00172/0.00172, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002066/0.002066, allocations: 216.8 kB / 24.52 MB, free: 3.914 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.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] 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.2375/0.2375, allocations: 46.96 MB / 361.7 MB, free: 4.004 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 59.91 kB / 0.4969 GB, free: 7.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3325, allocations: 66.04 MB / 0.5614 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1633/0.4958, allocations: 119.6 MB / 0.6782 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006009/0.5018, allocations: 4.232 MB / 0.6823 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.502, allocations: 0 / 0.6823 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004356/0.5024, allocations: 67.55 kB / 0.6824 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002217/0.5047, allocations: 0.7423 MB / 0.6831 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.5051, allocations: 162.7 kB / 0.6833 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007237/0.5058, allocations: 386.1 kB / 0.6836 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.779e-05/0.5059, allocations: 5.812 kB / 0.6836 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000348/0.5062, allocations: 167.4 kB / 0.6838 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003921/0.5066, allocations: 191.3 kB / 0.684 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.177e-05/0.5067, allocations: 12 kB / 0.684 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.5081, allocations: 0.6163 MB / 0.6846 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.5083, allocations: 47.81 kB / 0.6846 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.5085, allocations: 99.52 kB / 0.6847 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.5097, allocations: 472.4 kB / 0.6852 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5097, allocations: 0 / 0.6852 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5097, allocations: 0 / 0.6852 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.5097, allocations: 0 / 0.6852 GB, free: 4.938 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.001311/0.511, allocations: 0.5362 MB / 0.6857 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.511, allocations: 8.031 kB / 0.6857 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.54e-05/0.5111, allocations: 8.688 kB / 0.6857 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.719e-05/0.5111, allocations: 62.72 kB / 0.6858 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.5113, allocations: 24.84 kB / 0.6858 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.5117, allocations: 170.2 kB / 0.686 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002154/0.5119, allocations: 222.7 kB / 0.6862 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/0.512, allocations: 23.94 kB / 0.6862 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000713/0.5127, allocations: 0.5096 MB / 0.6867 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.5127, allocations: 4 kB / 0.6867 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.5127, allocations: 8 kB / 0.6867 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/0.5128, allocations: 11.98 kB / 0.6867 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009719/0.5137, allocations: 0.7547 MB / 0.6875 GB, free: 2.418 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.001487/0.5152, allocations: 1.006 MB / 0.6885 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004509/0.5157, allocations: 163.7 kB / 0.6886 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.5158, allocations: 77.48 kB / 0.6887 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001541/0.5174, allocations: 0.6919 MB / 0.6894 GB, free: 400 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.5174, allocations: 34.56 kB / 0.6894 GB, free: 356 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.5174, allocations: 8 kB / 0.6894 GB, free: 348 kB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0007045/0.5181, allocations: 217 kB / 0.6896 GB, free: 124 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.5181, allocations: 55.41 kB / 0.6897 GB, free: 56 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.5184, allocations: 211.8 kB / 0.6899 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.5184, allocations: 25.7 kB / 0.6899 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.5186, allocations: 227.5 kB / 0.6901 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/0.5186, allocations: 55.56 kB / 0.6902 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.5187, allocations: 82.03 kB / 0.6902 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.5189, allocations: 326.8 kB / 0.6905 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.519, allocations: 56.84 kB / 0.6906 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.5193, allocations: 330.6 kB / 0.6909 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004791/0.5198, allocations: 416.4 kB / 0.6913 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/0.5198, allocations: 4 kB / 0.6913 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006017/0.5204, allocations: 377.5 kB / 0.6917 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.5204, allocations: 8 kB / 0.6917 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.5204, allocations: 15.94 kB / 0.6917 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.5204, allocations: 12 kB / 0.6917 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003577/0.5208, allocations: 103.8 kB / 0.6918 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/0.5208, allocations: 19.92 kB / 0.6918 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.521, allocations: 20 kB / 0.6918 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.5211, allocations: 28 kB / 0.6919 GB, free: 13.48 MB / 0.5294 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.5212, allocations: 157.8 kB / 0.692 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/0.5213, allocations: 19.91 kB / 0.692 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003182/0.5216, allocations: 159 kB / 0.6922 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.5216, allocations: 7.984 kB / 0.6922 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5216, allocations: 0 / 0.6922 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.5216, allocations: 4 kB / 0.6922 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005857/0.5222, allocations: 403.1 kB / 0.6926 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.5222, allocations: 0 / 0.6926 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.5224, allocations: 27.97 kB / 0.6926 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/0.5224, allocations: 4 kB / 0.6926 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.5224, allocations: 7.938 kB / 0.6926 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.5224, allocations: 4 kB / 0.6926 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5224, allocations: 0 / 0.6926 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.5227, allocations: 217.1 kB / 0.6928 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.351e-05/0.5227, allocations: 23.95 kB / 0.6929 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.5228, allocations: 11.95 kB / 0.6929 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.523, allocations: 11.98 kB / 0.6929 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/0.523, allocations: 7.984 kB / 0.6929 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.523, allocations: 7.984 kB / 0.6929 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001415/0.5231, allocations: 156.4 kB / 0.693 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.5231, allocations: 0 / 0.693 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005002/0.5236, allocations: 99.84 kB / 0.6931 GB, free: 12.09 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.0007691/0.5244, allocations: 0.8192 MB / 0.6939 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003122/0.5247, allocations: 166.1 kB / 0.6941 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5247, allocations: 4 kB / 0.6941 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.732e-05/0.5248, allocations: 31.92 kB / 0.6941 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.5252, allocations: 57.08 kB / 0.6942 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/0.5284, allocations: 2.738 MB / 0.6969 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.5285, allocations: 120.5 kB / 0.697 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002062/0.5287, allocations: 58.91 kB / 0.697 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.975e-05/0.5288, allocations: 63.41 kB / 0.6971 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.5288, allocations: 0 / 0.6971 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02616/0.555, allocations: 5.787 MB / 0.7027 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.2, allocations: 4 kB / 0.7028 GB, free: 2.039 MB / 0.5294 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/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: 15.336238237912767]