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.001784/0.001784, allocations: 110.2 kB / 19.69 MB, free: 2.203 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.002263/0.002263, allocations: 223.3 kB / 23.01 MB, free: 5.039 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.406/1.406, allocations: 207.6 MB / 233.8 MB, free: 9.977 MB / 190.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.2232/0.2232, allocations: 44.25 MB / 330.3 MB, free: 9.609 MB / 270.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",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.002445/0.002445, allocations: 71.89 kB / 467.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1161, allocations: 61.04 MB / 0.5161 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.388/0.504, allocations: 153.6 MB / 0.6662 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005025/0.5091, allocations: 3.684 MB / 0.6698 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.744e-05/0.5091, allocations: 7.938 kB / 0.6698 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001901/0.5093, allocations: 35.8 kB / 0.6698 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.141e-05/0.5094, allocations: 23.77 kB / 0.6698 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.5108, allocations: 445.8 kB / 0.6703 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.5109, allocations: 63.66 kB / 0.6703 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.336e-05/0.5109, allocations: 4 kB / 0.6703 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.5111, allocations: 35.86 kB / 0.6704 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.524e-05/0.5111, allocations: 31.84 kB / 0.6704 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.5111, allocations: 0 / 0.6704 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.5123, allocations: 0.5143 MB / 0.6709 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.794e-05/0.5124, allocations: 11.97 kB / 0.6709 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.226e-05/0.5124, allocations: 27.88 kB / 0.6709 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006595/0.5131, allocations: 305.4 kB / 0.6712 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.5131, allocations: 7.938 kB / 0.6712 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5131, allocations: 4 kB / 0.6712 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.5131, allocations: 0 / 0.6712 GB, free: 4.977 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.0005943/0.5137, allocations: 333.7 kB / 0.6716 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.5137, allocations: 8.031 kB / 0.6716 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.554e-05/0.5137, allocations: 44.42 kB / 0.6716 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.5138, allocations: 4.891 kB / 0.6716 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.5139, allocations: 113.7 kB / 0.6717 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.5139, allocations: 4 kB / 0.6717 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.5139, allocations: 8 kB / 0.6717 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.5141, allocations: 81.59 kB / 0.6718 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.5141, allocations: 0 / 0.6718 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.5142, allocations: 7.984 kB / 0.6718 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.5142, allocations: 4 kB / 0.6718 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.973e-05/0.5143, allocations: 47.97 kB / 0.6719 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005073/0.5148, allocations: 356.8 kB / 0.6722 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.5149, allocations: 60.52 kB / 0.6723 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.158e-05/0.5149, allocations: 28.84 kB / 0.6723 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001447/0.5164, allocations: 263.7 kB / 0.6725 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.5164, allocations: 30.56 kB / 0.6726 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.5164, allocations: 0 / 0.6726 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.007005/0.5234, allocations: 0.6729 MB / 0.6732 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.5235, allocations: 51.41 kB / 0.6733 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.666e-05/0.5236, allocations: 102.6 kB / 0.6734 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.5236, allocations: 29.7 kB / 0.6734 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.091e-05/0.5237, allocations: 96.3 kB / 0.6735 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.085e-05/0.5237, allocations: 52.09 kB / 0.6735 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.5238, allocations: 41.67 kB / 0.6736 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.524, allocations: 318.8 kB / 0.6739 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.5242, allocations: 79.94 kB / 0.674 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.5244, allocations: 110.5 kB / 0.6741 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004497/0.5249, allocations: 199.4 kB / 0.6743 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5249, allocations: 4.5 kB / 0.6743 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005773/0.5255, allocations: 249.4 kB / 0.6745 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.5255, allocations: 4 kB / 0.6745 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.5255, allocations: 4.062 kB / 0.6745 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.5255, allocations: 4 kB / 0.6745 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007839/0.5263, allocations: 47.89 kB / 0.6746 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.5263, allocations: 8.547 kB / 0.6746 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006002/0.5269, allocations: 16 kB / 0.6746 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.5269, allocations: 11.92 kB / 0.6746 GB, free: 1.312 MB / 0.4981 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.0001356/0.5271, allocations: 113.8 kB / 0.6747 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.873e-05/0.5271, allocations: 15.88 kB / 0.6747 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007858/0.5279, allocations: 345.4 kB / 0.675 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.5279, allocations: 4 kB / 0.6751 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.5279, allocations: 0.6875 kB / 0.6751 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.5279, allocations: 0 / 0.6751 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.5292, allocations: 0.7442 MB / 0.6758 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5292, allocations: 0 / 0.6758 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006136/0.5298, allocations: 41.98 kB / 0.6758 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.5298, allocations: 0 / 0.6758 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.5298, allocations: 11.98 kB / 0.6758 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.5298, allocations: 3.938 kB / 0.6758 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5298, allocations: 0 / 0.6758 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006265/0.5304, allocations: 362.7 kB / 0.6762 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.5305, allocations: 31.89 kB / 0.6762 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/0.5306, allocations: 0 / 0.6762 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005221/0.5311, allocations: 15.98 kB / 0.6762 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.5312, allocations: 11.97 kB / 0.6762 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.5312, allocations: 19.92 kB / 0.6763 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.637e-05/0.5312, allocations: 79.28 kB / 0.6763 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.5312, allocations: 0 / 0.6763 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004471/0.5317, allocations: 107.7 kB / 0.6764 GB, free: 15.31 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.001227/0.5329, allocations: 0.9984 MB / 0.6774 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005257/0.5334, allocations: 207.8 kB / 0.6776 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5334, allocations: 0 / 0.6776 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.5337, allocations: 110.5 kB / 0.6777 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.5342, allocations: 42.38 kB / 0.6778 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008857/0.5351, allocations: 318.4 kB / 0.6781 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.5354, allocations: 0.7009 MB / 0.6787 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003203/0.5358, allocations: 64.83 kB / 0.6788 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.536, allocations: 47.38 kB / 0.6788 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of SimCode: time 9.32e-07/0.536, allocations: 0 / 0.6788 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0355/0.5715, allocations: 7.921 MB / 0.6866 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.71, allocations: 0 / 0.6866 GB, free: 4.812 MB / 0.5137 GB " [Timeout remaining time 648] (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: 14.536027661990374]