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.001744/0.001744, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002436/0.002436, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.403/1.403, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.2266/0.2266, allocations: 46.96 MB / 360.9 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.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 67.89 kB / 0.4961 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3148, allocations: 66.03 MB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1657/0.4804, allocations: 133.3 MB / 0.6907 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.4819, allocations: 1.067 MB / 0.6918 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.585e-05/0.482, allocations: 4 kB / 0.6918 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.4821, allocations: 35.83 kB / 0.6918 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.963e-05/0.4822, allocations: 19.78 kB / 0.6918 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.4833, allocations: 433.7 kB / 0.6922 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.4834, allocations: 75.53 kB / 0.6923 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.926e-05/0.4835, allocations: 4 kB / 0.6923 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.232e-05/0.4836, allocations: 31.92 kB / 0.6923 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.207e-05/0.4836, allocations: 27.91 kB / 0.6924 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.699e-06/0.4836, allocations: 0 / 0.6924 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.4847, allocations: 490.6 kB / 0.6928 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.4847, allocations: 8 kB / 0.6928 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.4847, allocations: 27.92 kB / 0.6929 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004932/0.4852, allocations: 301.2 kB / 0.6932 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.4852, allocations: 0 / 0.6932 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4852, allocations: 0 / 0.6932 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.4852, allocations: 0 / 0.6932 GB, free: 11.91 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.0005381/0.4858, allocations: 341.6 kB / 0.6935 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.4858, allocations: 8.031 kB / 0.6935 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.987e-05/0.4859, allocations: 34.75 kB / 0.6935 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.4859, allocations: 12.62 kB / 0.6935 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.486, allocations: 117.1 kB / 0.6937 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.486, allocations: 4 kB / 0.6937 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.486, allocations: 8 kB / 0.6937 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.4862, allocations: 73.41 kB / 0.6937 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4862, allocations: 0 / 0.6937 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.4862, allocations: 4 kB / 0.6937 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4862, allocations: 4 kB / 0.6937 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.4864, allocations: 55.84 kB / 0.6938 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004202/0.4868, allocations: 263.9 kB / 0.694 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.4869, allocations: 62.55 kB / 0.6941 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.467e-05/0.4869, allocations: 21.05 kB / 0.6941 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001433/0.4884, allocations: 263.6 kB / 0.6944 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.4884, allocations: 34.56 kB / 0.6944 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.4884, allocations: 0 / 0.6944 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.007588/0.496, allocations: 0.6573 MB / 0.6951 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.496, allocations: 55.41 kB / 0.6951 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.4962, allocations: 106 kB / 0.6952 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.863e-05/0.4962, allocations: 29.64 kB / 0.6952 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.567e-05/0.4963, allocations: 92.33 kB / 0.6953 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.616e-05/0.4963, allocations: 47.58 kB / 0.6954 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.4965, allocations: 45.67 kB / 0.6954 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.4966, allocations: 322.8 kB / 0.6957 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.4968, allocations: 75.95 kB / 0.6958 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.4971, allocations: 121.4 kB / 0.6959 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004392/0.4975, allocations: 194.5 kB / 0.6961 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.4975, allocations: 0 / 0.6961 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005957/0.4981, allocations: 253.4 kB / 0.6963 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.4981, allocations: 8 kB / 0.6963 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4981, allocations: 0 / 0.6963 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.4982, allocations: 4.062 kB / 0.6963 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006886/0.4988, allocations: 51.94 kB / 0.6964 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.4989, allocations: 0 / 0.6964 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005284/0.4994, allocations: 16 kB / 0.6964 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.941e-05/0.4994, allocations: 15.97 kB / 0.6964 GB, free: 8.363 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.0001377/0.4996, allocations: 121.7 kB / 0.6965 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.4e-05/0.4996, allocations: 7.953 kB / 0.6966 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008643/0.5005, allocations: 341.7 kB / 0.6969 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.5005, allocations: 4 kB / 0.6969 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5005, allocations: 0 / 0.6969 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.5005, allocations: 3.984 kB / 0.6969 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.5018, allocations: 0.7143 MB / 0.6976 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5018, allocations: 0 / 0.6976 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006133/0.5024, allocations: 55.89 kB / 0.6976 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.5024, allocations: 4 kB / 0.6976 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.5025, allocations: 3.984 kB / 0.6976 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.5025, allocations: 7.938 kB / 0.6976 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5025, allocations: 0 / 0.6976 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000625/0.5031, allocations: 347.4 kB / 0.698 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.554e-05/0.5032, allocations: 27.91 kB / 0.698 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.798e-05/0.5032, allocations: 4 kB / 0.698 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005242/0.5038, allocations: 11.94 kB / 0.698 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.5038, allocations: 23.91 kB / 0.698 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.5039, allocations: 15.92 kB / 0.6981 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.156e-05/0.5039, allocations: 87.27 kB / 0.6981 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.5039, allocations: 0 / 0.6981 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004942/0.5044, allocations: 107.7 kB / 0.6982 GB, free: 6.379 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.001325/0.5057, allocations: 0.9913 MB / 0.6992 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005211/0.5063, allocations: 199.9 kB / 0.6994 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5063, allocations: 0 / 0.6994 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002563/0.5065, allocations: 123.7 kB / 0.6995 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.507, allocations: 36.02 kB / 0.6996 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008729/0.5078, allocations: 328.5 kB / 0.6999 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.594e-05/0.5079, allocations: 79.56 kB / 0.6999 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003225/0.5082, allocations: 60.86 kB / 0.7 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.5085, allocations: 51.38 kB / 0.7001 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.5085, allocations: 0 / 0.7001 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/0.5432, allocations: 8.883 MB / 0.7087 GB, free: 11.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.46, allocations: 15.94 kB / 0.7087 GB, free: 11.69 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: 14.286926633008989]