Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001307/0.001307, 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.001385/0.001385, 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.425/1.425, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2261/0.2261, allocations: 46.97 MB / 361.7 MB, free: 4.062 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.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 63.91 kB / 0.4969 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3297, allocations: 66.03 MB / 0.5613 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.2035/0.5332, allocations: 133.2 MB / 0.6914 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.5347, allocations: 1.067 MB / 0.6924 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.5348, allocations: 4 kB / 0.6924 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.5349, allocations: 31.83 kB / 0.6925 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.188e-05/0.535, allocations: 27.77 kB / 0.6925 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.5362, allocations: 425.7 kB / 0.6929 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.5363, allocations: 71.55 kB / 0.693 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.778e-05/0.5363, allocations: 11.97 kB / 0.693 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.5364, allocations: 39.86 kB / 0.693 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.053e-05/0.5365, allocations: 23.92 kB / 0.6931 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.906e-06/0.5365, allocations: 0 / 0.6931 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.5375, allocations: 478.8 kB / 0.6935 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.5375, allocations: 4 kB / 0.6935 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.353e-05/0.5376, allocations: 35.84 kB / 0.6935 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004997/0.5381, allocations: 301.1 kB / 0.6938 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5381, allocations: 0 / 0.6938 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5381, allocations: 0 / 0.6938 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.5381, allocations: 4 kB / 0.6938 GB, free: 12.07 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.00057/0.5386, allocations: 333.7 kB / 0.6942 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.5387, allocations: 8.031 kB / 0.6942 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.486e-05/0.5387, allocations: 4.188 kB / 0.6942 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.38e-05/0.5387, allocations: 38.75 kB / 0.6942 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.5388, allocations: 8.5 kB / 0.6942 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.5389, allocations: 113.1 kB / 0.6943 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.5389, allocations: 8 kB / 0.6943 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.5389, allocations: 4 kB / 0.6943 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.5391, allocations: 73.61 kB / 0.6944 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.5391, allocations: 4 kB / 0.6944 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.5391, allocations: 7.938 kB / 0.6944 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.5391, allocations: 3.984 kB / 0.6944 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.183e-05/0.5392, allocations: 51.91 kB / 0.6945 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.5396, allocations: 279.9 kB / 0.6947 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.5397, allocations: 54.5 kB / 0.6948 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.751e-05/0.5398, allocations: 28.72 kB / 0.6948 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/0.5411, allocations: 259.7 kB / 0.6951 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.5412, allocations: 34.56 kB / 0.6951 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.5412, allocations: 0 / 0.6951 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.007037/0.5482, allocations: 0.6534 MB / 0.6957 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.5482, allocations: 51.41 kB / 0.6958 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.5483, allocations: 105.8 kB / 0.6959 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.5484, allocations: 29.7 kB / 0.6959 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/0.5484, allocations: 88.38 kB / 0.696 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.05e-05/0.5485, allocations: 51.53 kB / 0.696 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.5486, allocations: 41.67 kB / 0.6961 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5488, allocations: 326.8 kB / 0.6964 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.549, allocations: 79.94 kB / 0.6965 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.5492, allocations: 105 kB / 0.6966 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004548/0.5497, allocations: 210.2 kB / 0.6968 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.5497, allocations: 0 / 0.6968 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005784/0.5503, allocations: 245.5 kB / 0.697 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.5503, allocations: 4 kB / 0.697 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.5503, allocations: 0 / 0.697 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.5503, allocations: 4 kB / 0.697 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006771/0.551, allocations: 47.94 kB / 0.6971 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.551, allocations: 7.938 kB / 0.6971 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005239/0.5515, allocations: 24.05 kB / 0.6971 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.736e-05/0.5516, allocations: 11.98 kB / 0.6971 GB, free: 8.516 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.0001238/0.5517, allocations: 117.8 kB / 0.6972 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.5517, allocations: 11.89 kB / 0.6972 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000831/0.5526, allocations: 350.2 kB / 0.6976 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.5526, allocations: 0 / 0.6976 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.5526, allocations: 4 kB / 0.6976 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.5526, allocations: 0 / 0.6976 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.5537, allocations: 0.7177 MB / 0.6983 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5537, allocations: 0 / 0.6983 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006038/0.5543, allocations: 43.97 kB / 0.6983 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5543, allocations: 0 / 0.6983 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.5544, allocations: 7.984 kB / 0.6983 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.5544, allocations: 3.938 kB / 0.6983 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5544, allocations: 4 kB / 0.6983 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006152/0.555, allocations: 357.2 kB / 0.6987 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.284e-05/0.5551, allocations: 27.91 kB / 0.6987 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.472e-05/0.5551, allocations: 4 kB / 0.6987 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005169/0.5556, allocations: 11.92 kB / 0.6987 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/0.5557, allocations: 23.95 kB / 0.6987 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/0.5557, allocations: 11.98 kB / 0.6987 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.977e-05/0.5558, allocations: 83.28 kB / 0.6988 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5558, allocations: 0 / 0.6988 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004639/0.5562, allocations: 103.7 kB / 0.6989 GB, free: 6.539 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.001261/0.5575, allocations: 1.001 MB / 0.6999 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005399/0.5581, allocations: 206.5 kB / 0.7001 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.5581, allocations: 0 / 0.7001 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002555/0.5583, allocations: 111.9 kB / 0.7002 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.5587, allocations: 35.89 kB / 0.7002 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008478/0.5596, allocations: 322.1 kB / 0.7005 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.023e-05/0.5597, allocations: 79.56 kB / 0.7006 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003335/0.56, allocations: 72.97 kB / 0.7007 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/0.5603, allocations: 47.38 kB / 0.7007 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of SimCode: time 3.8e-07/0.5603, allocations: 4 kB / 0.7007 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/0.5886, allocations: 8.528 MB / 0.7091 GB, free: 12.21 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/12.08, allocations: 4.047 kB / 0.7091 GB, free: 12.21 MB / 0.545 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.111716337967664]