Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001746/0.001746, allocations: 122 kB / 17.83 MB, free: 5.242 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.002384/0.002384, allocations: 204.7 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 207.6 MB / 231.2 MB, free: 4.121 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3382/0.3382, allocations: 44.23 MB / 327.3 MB, free: 6.754 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002166/0.002166, allocations: 75.88 kB / 462.9 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2731, allocations: 61 MB / 0.5116 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4455/0.7186, allocations: 153.6 MB / 0.6616 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004547/0.7231, allocations: 3.659 MB / 0.6652 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.03e-05/0.7232, allocations: 1.703 kB / 0.6652 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.7234, allocations: 37.55 kB / 0.6652 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.23e-05/0.7234, allocations: 33.08 kB / 0.6652 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.725, allocations: 436.1 kB / 0.6657 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.7252, allocations: 65.31 kB / 0.6657 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.394e-05/0.7252, allocations: 10.7 kB / 0.6657 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.7253, allocations: 34.92 kB / 0.6658 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.087e-05/0.7254, allocations: 22.84 kB / 0.6658 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.7254, allocations: 3.125 kB / 0.6658 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.7266, allocations: 0.5109 MB / 0.6663 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.7266, allocations: 2.297 kB / 0.6663 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.244e-05/0.7267, allocations: 29.64 kB / 0.6663 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005177/0.7272, allocations: 308.2 kB / 0.6666 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7272, allocations: 0 / 0.6666 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7272, allocations: 1.062 kB / 0.6666 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.7272, allocations: 4.375 kB / 0.6666 GB, free: 1.363 MB / 0.4981 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.0007244/0.7279, allocations: 409.2 kB / 0.667 GB, free: 16.97 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.728, allocations: 12.33 kB / 0.667 GB, free: 16.97 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.162e-05/0.728, allocations: 3.484 kB / 0.667 GB, free: 16.97 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.165e-05/0.728, allocations: 39.22 kB / 0.6671 GB, free: 16.93 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.7281, allocations: 9.828 kB / 0.6671 GB, free: 16.93 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.7282, allocations: 171.3 kB / 0.6672 GB, free: 16.73 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.7282, allocations: 6.344 kB / 0.6672 GB, free: 16.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.7282, allocations: 2.688 kB / 0.6672 GB, free: 16.73 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.7284, allocations: 75.48 kB / 0.6673 GB, free: 16.69 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.7284, allocations: 3.438 kB / 0.6673 GB, free: 16.69 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.7284, allocations: 9.078 kB / 0.6673 GB, free: 16.69 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.7284, allocations: 2.781 kB / 0.6673 GB, free: 16.69 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.768e-05/0.7285, allocations: 45.05 kB / 0.6674 GB, free: 16.69 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000455/0.7289, allocations: 385.8 kB / 0.6677 GB, free: 16.32 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.854e-05/0.729, allocations: 64.11 kB / 0.6678 GB, free: 16.29 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.178e-05/0.7291, allocations: 20.33 kB / 0.6678 GB, free: 16.29 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001942/0.731, allocations: 1.234 MB / 0.669 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.731, allocations: 35.88 kB / 0.6691 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.7311, allocations: 0 / 0.6691 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.00726/0.7383, allocations: 0.6716 MB / 0.6697 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.7384, allocations: 57.44 kB / 0.6698 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.7385, allocations: 102.5 kB / 0.6699 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.7385, allocations: 27.33 kB / 0.6699 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.7386, allocations: 96.48 kB / 0.67 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.491e-05/0.7386, allocations: 47.36 kB / 0.67 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.7388, allocations: 44.59 kB / 0.6701 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.7389, allocations: 319.9 kB / 0.6704 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.7391, allocations: 80.28 kB / 0.6704 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.7394, allocations: 106.7 kB / 0.6706 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005301/0.7399, allocations: 203.1 kB / 0.6707 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.7399, allocations: 0.5 kB / 0.6707 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006486/0.7406, allocations: 244.6 kB / 0.671 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.7406, allocations: 5.469 kB / 0.671 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.7406, allocations: 2.156 kB / 0.671 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.7406, allocations: 1.875 kB / 0.671 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007514/0.7414, allocations: 56.09 kB / 0.671 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.7414, allocations: 5.516 kB / 0.671 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005761/0.742, allocations: 15.97 kB / 0.6711 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.547e-05/0.742, allocations: 16.83 kB / 0.6711 GB, free: 14.23 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.0001342/0.7421, allocations: 129.1 kB / 0.6712 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.7422, allocations: 13.53 kB / 0.6712 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008183/0.743, allocations: 336.9 kB / 0.6715 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.743, allocations: 2.344 kB / 0.6715 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.743, allocations: 0.7188 kB / 0.6715 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.743, allocations: 7.531 kB / 0.6715 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.7441, allocations: 0.7617 MB / 0.6723 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.7441, allocations: 0.9688 kB / 0.6723 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006736/0.7448, allocations: 43.23 kB / 0.6723 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.7448, allocations: 2.688 kB / 0.6723 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.7448, allocations: 9.812 kB / 0.6723 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.7449, allocations: 1.031 kB / 0.6723 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7449, allocations: 2.344 kB / 0.6723 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006513/0.7455, allocations: 361 kB / 0.6727 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.7456, allocations: 103.1 kB / 0.6728 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/0.7457, allocations: 4.75 kB / 0.6728 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005656/0.7462, allocations: 10.45 kB / 0.6728 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.313e-05/0.7463, allocations: 19.56 kB / 0.6728 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.7463, allocations: 10.78 kB / 0.6728 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.899e-05/0.7464, allocations: 86.38 kB / 0.6729 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.7464, allocations: 1.203 kB / 0.6729 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004978/0.7469, allocations: 99.61 kB / 0.673 GB, free: 13.22 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.001312/0.7482, allocations: 1.011 MB / 0.674 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005553/0.7488, allocations: 208.3 kB / 0.6742 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7488, allocations: 1.469 kB / 0.6742 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.749, allocations: 113.5 kB / 0.6743 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.7494, allocations: 27.98 kB / 0.6743 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008234/0.7503, allocations: 336.7 kB / 0.6747 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.7506, allocations: 0.6986 MB / 0.6753 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003223/0.7509, allocations: 67.38 kB / 0.6754 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/0.7511, allocations: 49.22 kB / 0.6754 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of SimCode: time 6.41e-07/0.7511, allocations: 0.875 kB / 0.6754 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.7733, allocations: 7.665 MB / 0.6829 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.345/9.119, allocations: 15.55 kB / 0.6829 GB, free: 10.84 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.122348784003407]