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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 118.8 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 191.7 kB / 20.07 MB, free: 2.992 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.472/1.472, allocations: 207.6 MB / 230.5 MB, free: 4.027 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.3289/0.3289, allocations: 44.23 MB / 326.5 MB, free: 6.812 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 75.89 kB / 462.2 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2713, allocations: 60.99 MB / 0.5109 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.463/0.7343, allocations: 153.6 MB / 0.6609 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004329/0.7387, allocations: 3.656 MB / 0.6644 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.247e-05/0.7387, allocations: 1.219 kB / 0.6644 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.7389, allocations: 35.39 kB / 0.6645 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.674e-05/0.739, allocations: 28.56 kB / 0.6645 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.7403, allocations: 440.5 kB / 0.6649 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.7405, allocations: 69.44 kB / 0.665 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.28e-05/0.7405, allocations: 6.078 kB / 0.665 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.827e-05/0.7406, allocations: 32.64 kB / 0.665 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.469e-05/0.7407, allocations: 28.5 kB / 0.665 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.7407, allocations: 1.844 kB / 0.6651 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009801/0.7417, allocations: 0.51 MB / 0.6655 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.7417, allocations: 7.266 kB / 0.6656 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.7417, allocations: 28.83 kB / 0.6656 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004356/0.7422, allocations: 306.7 kB / 0.6659 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.7422, allocations: 3.219 kB / 0.6659 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7422, allocations: 0.7812 kB / 0.6659 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.7422, allocations: 0 / 0.6659 GB, free: 1.352 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.0006213/0.7428, allocations: 407.2 kB / 0.6663 GB, free: 16.96 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.7428, allocations: 14.98 kB / 0.6663 GB, free: 16.96 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.7429, allocations: 40.33 kB / 0.6663 GB, free: 16.92 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.656e-05/0.7429, allocations: 8.828 kB / 0.6663 GB, free: 16.91 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.743, allocations: 166.8 kB / 0.6665 GB, free: 16.71 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.743, allocations: 6.125 kB / 0.6665 GB, free: 16.71 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.7431, allocations: 5.75 kB / 0.6665 GB, free: 16.71 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.7432, allocations: 76.14 kB / 0.6666 GB, free: 16.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.7432, allocations: 0.5938 kB / 0.6666 GB, free: 16.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.7432, allocations: 3.594 kB / 0.6666 GB, free: 16.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.7432, allocations: 1.094 kB / 0.6666 GB, free: 16.68 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.919e-05/0.7433, allocations: 46.14 kB / 0.6666 GB, free: 16.68 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.7437, allocations: 386.2 kB / 0.667 GB, free: 16.31 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.46e-05/0.7438, allocations: 64.25 kB / 0.6671 GB, free: 16.29 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.803e-05/0.7438, allocations: 20.33 kB / 0.6671 GB, free: 16.28 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00184/0.7457, allocations: 1.237 MB / 0.6683 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.7457, allocations: 33.03 kB / 0.6683 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.7457, allocations: 0 / 0.6683 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.006664/0.7524, allocations: 0.6668 MB / 0.669 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.7524, allocations: 53.72 kB / 0.669 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.762e-05/0.7525, allocations: 104.1 kB / 0.6691 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.7526, allocations: 27.23 kB / 0.6691 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.7526, allocations: 93.12 kB / 0.6692 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.774e-05/0.7527, allocations: 53.52 kB / 0.6693 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.7528, allocations: 41.34 kB / 0.6693 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.7529, allocations: 320.5 kB / 0.6696 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.7532, allocations: 79.97 kB / 0.6697 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.7534, allocations: 108.7 kB / 0.6698 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004849/0.7539, allocations: 202 kB / 0.67 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.7539, allocations: 0.5 kB / 0.67 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005993/0.7545, allocations: 252 kB / 0.6702 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.7545, allocations: 5.406 kB / 0.6702 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.7545, allocations: 2.281 kB / 0.6702 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.7545, allocations: 1.594 kB / 0.6702 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006731/0.7552, allocations: 52.92 kB / 0.6703 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.7552, allocations: 13.2 kB / 0.6703 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005372/0.7557, allocations: 12 kB / 0.6703 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/0.7558, allocations: 12.78 kB / 0.6703 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.0001293/0.7559, allocations: 122 kB / 0.6704 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.355e-05/0.756, allocations: 11.3 kB / 0.6705 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007638/0.7567, allocations: 346.2 kB / 0.6708 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.7567, allocations: 1.906 kB / 0.6708 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.7567, allocations: 2.219 kB / 0.6708 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.7567, allocations: 0 / 0.6708 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.7578, allocations: 0.7658 MB / 0.6715 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.7578, allocations: 0 / 0.6715 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005799/0.7584, allocations: 52.16 kB / 0.6716 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.7584, allocations: 2.469 kB / 0.6716 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.7584, allocations: 4.906 kB / 0.6716 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.7584, allocations: 0.875 kB / 0.6716 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7584, allocations: 5.062 kB / 0.6716 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005652/0.759, allocations: 359.1 kB / 0.6719 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.7591, allocations: 102.6 kB / 0.672 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.7591, allocations: 8.281 kB / 0.6721 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005019/0.7596, allocations: 14.72 kB / 0.6721 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.7597, allocations: 12.16 kB / 0.6721 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.7597, allocations: 14.72 kB / 0.6721 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.953e-05/0.7598, allocations: 82.31 kB / 0.6722 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.7598, allocations: 0.7188 kB / 0.6722 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004632/0.7602, allocations: 106.1 kB / 0.6723 GB, free: 13.21 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.001232/0.7615, allocations: 1.007 MB / 0.6733 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005152/0.762, allocations: 207.4 kB / 0.6735 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.762, allocations: 0 / 0.6735 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.7622, allocations: 111.5 kB / 0.6736 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.7626, allocations: 31.36 kB / 0.6736 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007793/0.7634, allocations: 337.7 kB / 0.6739 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.7638, allocations: 0.692 MB / 0.6746 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003151/0.7641, allocations: 72.06 kB / 0.6747 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.7643, allocations: 48.08 kB / 0.6747 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.7643, allocations: 4.031 kB / 0.6747 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03073/0.795, allocations: 7.637 MB / 0.6822 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.202/8.997, allocations: 3 kB / 0.6822 GB, free: 10.87 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.852458016946912]