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.001952/0.001952, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.002286/0.002286, allocations: 215 kB / 21.45 MB, free: 1.641 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.546/1.546, allocations: 230.6 MB / 254.8 MB, free: 15.26 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.228/0.228, allocations: 44.9 MB / 355.8 MB, free: 12.38 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.001955/0.001955, allocations: 63.91 kB / 0.4885 GB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1311, allocations: 65.42 MB / 0.5524 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4676/0.5986, allocations: 154.8 MB / 0.7036 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.6002, allocations: 1.199 MB / 0.7048 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.987e-05/0.6002, allocations: 4 kB / 0.7048 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.6004, allocations: 32.31 kB / 0.7048 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.993e-05/0.6004, allocations: 23.78 kB / 0.7048 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.6017, allocations: 449.3 kB / 0.7053 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.6018, allocations: 73.05 kB / 0.7053 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.6018, allocations: 4 kB / 0.7054 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.855e-05/0.6019, allocations: 35.91 kB / 0.7054 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.367e-05/0.602, allocations: 23.91 kB / 0.7054 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.602, allocations: 4 kB / 0.7054 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.603, allocations: 0.5148 MB / 0.7059 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.603, allocations: 3.938 kB / 0.7059 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.6031, allocations: 27.92 kB / 0.7059 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004995/0.6036, allocations: 313.6 kB / 0.7062 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.6036, allocations: 3.938 kB / 0.7062 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6036, allocations: 4 kB / 0.7063 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.6036, allocations: 0 / 0.7063 GB, free: 9.734 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005982/0.6042, allocations: 410.8 kB / 0.7066 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.6042, allocations: 12.03 kB / 0.7067 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.599e-05/0.6042, allocations: 192 / 0.7067 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.226e-05/0.6043, allocations: 41.36 kB / 0.7067 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.469e-05/0.6043, allocations: 8.062 kB / 0.7067 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.6044, allocations: 174.9 kB / 0.7069 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.6045, allocations: 4 kB / 0.7069 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.6045, allocations: 8 kB / 0.7069 GB, free: 9 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.6047, allocations: 77.59 kB / 0.707 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.6047, allocations: 4 kB / 0.707 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.6047, allocations: 0 / 0.707 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.6047, allocations: 3.984 kB / 0.707 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.333e-05/0.6048, allocations: 47.97 kB / 0.707 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004833/0.6053, allocations: 377.9 kB / 0.7074 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.6054, allocations: 66.48 kB / 0.7074 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.815e-05/0.6055, allocations: 16.86 kB / 0.7074 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001969/0.6074, allocations: 1.225 MB / 0.7086 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.6075, allocations: 38.5 kB / 0.7087 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.6075, allocations: 0 / 0.7087 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.007311/0.6148, allocations: 0.6583 MB / 0.7093 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.6148, allocations: 55.5 kB / 0.7094 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.6149, allocations: 105.8 kB / 0.7095 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.615, allocations: 29.7 kB / 0.7095 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.6151, allocations: 92.31 kB / 0.7096 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.817e-05/0.6152, allocations: 51.59 kB / 0.7096 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.6153, allocations: 41.67 kB / 0.7097 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.6155, allocations: 318.8 kB / 0.71 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.6157, allocations: 87.88 kB / 0.7101 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.6159, allocations: 103.9 kB / 0.7102 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005025/0.6164, allocations: 206.4 kB / 0.7104 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.6164, allocations: 0 / 0.7104 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006109/0.6171, allocations: 245.1 kB / 0.7106 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.6171, allocations: 4 kB / 0.7106 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.6171, allocations: 4 kB / 0.7106 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.6171, allocations: 64 / 0.7106 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007257/0.6178, allocations: 55.94 kB / 0.7107 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.6178, allocations: 3.938 kB / 0.7107 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005624/0.6184, allocations: 19.98 kB / 0.7107 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.043e-05/0.6184, allocations: 11.98 kB / 0.7107 GB, free: 4.684 MB / 0.5137 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.0001434/0.6186, allocations: 120 kB / 0.7108 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.069e-05/0.6187, allocations: 11.58 kB / 0.7108 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008928/0.6196, allocations: 350.9 kB / 0.7112 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.6196, allocations: 0 / 0.7112 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.6196, allocations: 4 kB / 0.7112 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.6196, allocations: 0 / 0.7112 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.6209, allocations: 0.762 MB / 0.7119 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.6209, allocations: 0 / 0.7119 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006658/0.6215, allocations: 43.97 kB / 0.7119 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.6215, allocations: 0 / 0.7119 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.6216, allocations: 7.984 kB / 0.712 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.6216, allocations: 0 / 0.712 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.6216, allocations: 3.938 kB / 0.712 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006421/0.6222, allocations: 364.8 kB / 0.7123 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.6223, allocations: 105 kB / 0.7124 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.6224, allocations: 8 kB / 0.7124 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005676/0.6229, allocations: 11.97 kB / 0.7124 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.623, allocations: 19.92 kB / 0.7124 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.623, allocations: 11.98 kB / 0.7125 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.781e-05/0.6231, allocations: 83.28 kB / 0.7125 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.6231, allocations: 0 / 0.7125 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005067/0.6236, allocations: 103.7 kB / 0.7126 GB, free: 2.559 MB / 0.5137 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.001378/0.625, allocations: 0.9986 MB / 0.7136 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000575/0.6256, allocations: 199.8 kB / 0.7138 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6256, allocations: 0 / 0.7138 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002629/0.6259, allocations: 115.9 kB / 0.7139 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/0.6263, allocations: 40.94 kB / 0.7139 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000924/0.6273, allocations: 321.3 kB / 0.7143 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.6276, allocations: 0.6965 MB / 0.7149 GB, free: 116 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003182/0.628, allocations: 63.59 kB / 0.715 GB, free: 56 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/0.6282, allocations: 47.38 kB / 0.715 GB, free: 12 kB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.6282, allocations: 0 / 0.715 GB, free: 12 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/0.6529, allocations: 7.674 MB / 0.7225 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.391/9.044, allocations: 8.953 kB / 0.7225 GB, free: 8.41 MB / 0.5294 GB " [Timeout remaining time 651] (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: 12.276434727013111]