Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.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.001711/0.001711, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002119/0.002119, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.594/1.594, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.2503/0.2503, allocations: 44.93 MB / 359.6 MB, free: 6.035 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.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="cs",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.001996/0.001996, allocations: 71.88 kB / 0.4938 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3052, allocations: 65.47 MB / 0.5577 GB, free: 7.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1634/0.4686, allocations: 133.2 MB / 0.6878 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.4702, allocations: 1.071 MB / 0.6888 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.253e-05/0.4703, allocations: 0 / 0.6888 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001747/0.4704, allocations: 27.84 kB / 0.6888 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.624e-05/0.4705, allocations: 35.7 kB / 0.6889 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.4719, allocations: 421.7 kB / 0.6893 GB, free: 172 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.472, allocations: 75.53 kB / 0.6894 GB, free: 96 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.078e-05/0.4721, allocations: 7.938 kB / 0.6894 GB, free: 88 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.4722, allocations: 35.91 kB / 0.6894 GB, free: 52 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.077e-05/0.4722, allocations: 27.86 kB / 0.6894 GB, free: 24 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.4723, allocations: 3.984 kB / 0.6894 GB, free: 20 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.4734, allocations: 474.8 kB / 0.6899 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.4734, allocations: 11.98 kB / 0.6899 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.68e-05/0.4734, allocations: 19.88 kB / 0.6899 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006212/0.4741, allocations: 309.1 kB / 0.6902 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.4741, allocations: 4 kB / 0.6902 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4741, allocations: 0 / 0.6902 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.4741, allocations: 0 / 0.6902 GB, free: 15.22 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000611/0.4747, allocations: 329.7 kB / 0.6905 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.4747, allocations: 12.03 kB / 0.6905 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.622e-05/0.4747, allocations: 192 / 0.6905 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.387e-05/0.4748, allocations: 38.73 kB / 0.6906 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.4748, allocations: 8.5 kB / 0.6906 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.4749, allocations: 117.1 kB / 0.6907 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.4749, allocations: 4 kB / 0.6907 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.475, allocations: 7.938 kB / 0.6907 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.4751, allocations: 73.67 kB / 0.6908 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.4751, allocations: 3.984 kB / 0.6908 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.4751, allocations: 0 / 0.6908 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.4751, allocations: 4 kB / 0.6908 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.4753, allocations: 51.91 kB / 0.6908 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.4757, allocations: 275.9 kB / 0.6911 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.4758, allocations: 58.5 kB / 0.6911 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.427e-05/0.4759, allocations: 24.78 kB / 0.6912 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001404/0.4773, allocations: 259.7 kB / 0.6914 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.4773, allocations: 34.56 kB / 0.6914 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.4773, allocations: 0 / 0.6914 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.007202/0.4845, allocations: 0.6575 MB / 0.6921 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.4846, allocations: 55.41 kB / 0.6921 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.373e-05/0.4847, allocations: 101.9 kB / 0.6922 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.4847, allocations: 33.7 kB / 0.6923 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.4847, allocations: 88.36 kB / 0.6924 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.435e-05/0.4848, allocations: 51.53 kB / 0.6924 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.4849, allocations: 45.67 kB / 0.6925 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.4851, allocations: 314.8 kB / 0.6928 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.4853, allocations: 87.94 kB / 0.6928 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.4855, allocations: 101.9 kB / 0.6929 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004663/0.486, allocations: 209.6 kB / 0.6931 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.486, allocations: 4 kB / 0.6931 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005977/0.4866, allocations: 245.5 kB / 0.6934 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.4866, allocations: 8 kB / 0.6934 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4866, allocations: 0 / 0.6934 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.4866, allocations: 0 / 0.6934 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006997/0.4873, allocations: 55.89 kB / 0.6934 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.4874, allocations: 4.047 kB / 0.6934 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005265/0.4879, allocations: 16 kB / 0.6934 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.838e-05/0.4879, allocations: 15.98 kB / 0.6935 GB, free: 11.67 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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 0.0001321/0.4881, allocations: 117.8 kB / 0.6936 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/0.4881, allocations: 11.94 kB / 0.6936 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008396/0.489, allocations: 349.6 kB / 0.6939 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.489, allocations: 4 kB / 0.6939 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.489, allocations: 3.938 kB / 0.6939 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.489, allocations: 0 / 0.6939 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.4902, allocations: 0.7178 MB / 0.6946 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4902, allocations: 0 / 0.6946 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006246/0.4908, allocations: 47.95 kB / 0.6947 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.4908, allocations: 0 / 0.6947 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/0.4908, allocations: 7.984 kB / 0.6947 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4908, allocations: 11.94 kB / 0.6947 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4908, allocations: 0 / 0.6947 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006341/0.4915, allocations: 355.3 kB / 0.695 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.33e-05/0.4915, allocations: 23.91 kB / 0.6951 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/0.4916, allocations: 0 / 0.6951 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005433/0.4921, allocations: 15.94 kB / 0.6951 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.059e-05/0.4922, allocations: 11.97 kB / 0.6951 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/0.4922, allocations: 15.98 kB / 0.6951 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.704e-05/0.4923, allocations: 83.28 kB / 0.6952 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4923, allocations: 4 kB / 0.6952 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004476/0.4927, allocations: 103.7 kB / 0.6953 GB, free: 9.691 MB / 0.5294 GB 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 (19): * Single equations (assignments): 19 * 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.001319/0.494, allocations: 1.007 MB / 0.6963 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000561/0.4946, allocations: 195.8 kB / 0.6965 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4946, allocations: 0 / 0.6965 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002627/0.4949, allocations: 115.8 kB / 0.6966 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.4953, allocations: 28.05 kB / 0.6966 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009103/0.4962, allocations: 334.7 kB / 0.6969 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.837e-05/0.4963, allocations: 79.56 kB / 0.697 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003452/0.4967, allocations: 68.83 kB / 0.697 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.4969, allocations: 43.39 kB / 0.6971 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/0.4969, allocations: 0 / 0.6971 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.5257, allocations: 8.535 MB / 0.7054 GB, free: 15.37 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.92, allocations: 4.062 kB / 0.7054 GB, free: 15.37 MB / 0.545 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.152897018007934]