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.00181/0.00181, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002258/0.002258, allocations: 216.2 kB / 24.53 MB, free: 4.07 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.434/1.434, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.213/0.213, allocations: 44.91 MB / 359.6 MB, free: 6.285 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.002006/0.002006, allocations: 62.41 kB / 0.4938 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.31, allocations: 65.47 MB / 0.5578 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1933/0.5033, allocations: 154.9 MB / 0.709 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001729/0.505, allocations: 1.203 MB / 0.7102 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.088e-05/0.505, allocations: 4 kB / 0.7102 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.5052, allocations: 35.81 kB / 0.7103 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.765e-05/0.5053, allocations: 23.78 kB / 0.7103 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.5065, allocations: 449.6 kB / 0.7107 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.5066, allocations: 71.59 kB / 0.7108 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.286e-05/0.5067, allocations: 3.984 kB / 0.7108 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.026e-05/0.5068, allocations: 31.92 kB / 0.7108 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.446e-05/0.5068, allocations: 35.84 kB / 0.7108 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.5069, allocations: 0 / 0.7108 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.508, allocations: 0.5298 MB / 0.7114 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.5081, allocations: 11.97 kB / 0.7114 GB, free: 9.887 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.471e-05/0.5081, allocations: 23.88 kB / 0.7114 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006019/0.5087, allocations: 313.3 kB / 0.7117 GB, free: 9.559 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.5087, allocations: 0 / 0.7117 GB, free: 9.559 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5087, allocations: 0 / 0.7117 GB, free: 9.559 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.5087, allocations: 0 / 0.7117 GB, free: 9.559 MB / 0.545 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.000749/0.5095, allocations: 337.7 kB / 0.712 GB, free: 9.199 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.5095, allocations: 15.97 kB / 0.712 GB, free: 9.184 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.023e-05/0.5095, allocations: 4.125 kB / 0.712 GB, free: 9.18 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.812e-05/0.5096, allocations: 42.73 kB / 0.7121 GB, free: 9.129 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.5096, allocations: 8.5 kB / 0.7121 GB, free: 9.121 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.5098, allocations: 109.1 kB / 0.7122 GB, free: 8.988 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.5098, allocations: 8 kB / 0.7122 GB, free: 8.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.5098, allocations: 8 kB / 0.7122 GB, free: 8.973 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.51, allocations: 69.66 kB / 0.7123 GB, free: 8.898 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.51, allocations: 4 kB / 0.7123 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.51, allocations: 4 kB / 0.7123 GB, free: 8.891 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.51, allocations: 0 / 0.7123 GB, free: 8.891 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.5102, allocations: 59.84 kB / 0.7123 GB, free: 8.832 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005538/0.5107, allocations: 349 kB / 0.7127 GB, free: 8.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.5108, allocations: 66.48 kB / 0.7127 GB, free: 8.355 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.48e-05/0.5109, allocations: 24.78 kB / 0.7127 GB, free: 8.328 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001406/0.5123, allocations: 255.7 kB / 0.713 GB, free: 8.078 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.5123, allocations: 38.56 kB / 0.713 GB, free: 8.031 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.532e-06/0.5123, allocations: 0 / 0.713 GB, free: 8.031 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.006917/0.5192, allocations: 0.6499 MB / 0.7137 GB, free: 7.375 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.5193, allocations: 59.34 kB / 0.7137 GB, free: 7.305 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.5194, allocations: 97.86 kB / 0.7138 GB, free: 7.199 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.5195, allocations: 29.89 kB / 0.7138 GB, free: 7.164 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/0.5195, allocations: 88.36 kB / 0.7139 GB, free: 7.074 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.351e-05/0.5196, allocations: 59.47 kB / 0.714 GB, free: 7.016 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.5197, allocations: 41.67 kB / 0.714 GB, free: 6.969 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.5199, allocations: 326.8 kB / 0.7143 GB, free: 6.641 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.5201, allocations: 79.94 kB / 0.7144 GB, free: 6.562 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.5204, allocations: 105.5 kB / 0.7145 GB, free: 6.453 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004744/0.5208, allocations: 202.5 kB / 0.7147 GB, free: 6.246 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.5208, allocations: 0 / 0.7147 GB, free: 6.246 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005971/0.5214, allocations: 256.8 kB / 0.715 GB, free: 5.992 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.5215, allocations: 10.81 kB / 0.715 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.5215, allocations: 0 / 0.715 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.5215, allocations: 0 / 0.715 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006701/0.5221, allocations: 47.95 kB / 0.715 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.5222, allocations: 0 / 0.715 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005257/0.5227, allocations: 20.05 kB / 0.715 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/0.5227, allocations: 15.98 kB / 0.715 GB, free: 5.902 MB / 0.545 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.0001467/0.5229, allocations: 121.7 kB / 0.7152 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.723e-05/0.5229, allocations: 7.953 kB / 0.7152 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008436/0.5238, allocations: 345.4 kB / 0.7155 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.5238, allocations: 4 kB / 0.7155 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.5238, allocations: 0 / 0.7155 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.5238, allocations: 0 / 0.7155 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/0.5251, allocations: 0.731 MB / 0.7162 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.5251, allocations: 256 / 0.7162 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006206/0.5257, allocations: 51.91 kB / 0.7163 GB, free: 4.547 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.5257, allocations: 4 kB / 0.7163 GB, free: 4.543 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.5258, allocations: 11.98 kB / 0.7163 GB, free: 4.531 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.5258, allocations: 7.938 kB / 0.7163 GB, free: 4.523 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5258, allocations: 0 / 0.7163 GB, free: 4.523 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006241/0.5264, allocations: 345.4 kB / 0.7166 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.5265, allocations: 27.91 kB / 0.7166 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.5266, allocations: 7.938 kB / 0.7166 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005328/0.5271, allocations: 19.92 kB / 0.7167 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.5272, allocations: 15.97 kB / 0.7167 GB, free: 4.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/0.5272, allocations: 8 kB / 0.7167 GB, free: 4.094 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.015e-05/0.5272, allocations: 87.27 kB / 0.7168 GB, free: 4.008 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5272, allocations: 0 / 0.7168 GB, free: 4.008 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000543/0.5278, allocations: 103.7 kB / 0.7169 GB, free: 3.906 MB / 0.545 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.001387/0.5292, allocations: 1.003 MB / 0.7179 GB, free: 2.879 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005468/0.5297, allocations: 203.8 kB / 0.718 GB, free: 2.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5297, allocations: 0 / 0.718 GB, free: 2.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002464/0.53, allocations: 107.9 kB / 0.7181 GB, free: 2.574 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.5304, allocations: 35.84 kB / 0.7182 GB, free: 2.539 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009135/0.5313, allocations: 326.1 kB / 0.7185 GB, free: 2.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.5317, allocations: 0.6926 MB / 0.7192 GB, free: 1.461 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003393/0.532, allocations: 72.83 kB / 0.7192 GB, free: 1.391 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.5322, allocations: 47.38 kB / 0.7193 GB, free: 1.348 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.5322, allocations: 3.938 kB / 0.7193 GB, free: 1.344 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03022/0.5625, allocations: 7.951 MB / 0.7271 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.73, allocations: 7.984 kB / 0.7271 GB, free: 9.508 MB / 0.5606 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.013087553961668]