Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001051/0.001051, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009019/0.0009019, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9053/0.9053, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2251/0.2251, allocations: 32.79 MB / 293.5 MB, free: 1.25 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 439.6 MB, free: 4.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.291e-05, allocations: 6.281 kB / 439.6 MB, free: 4.289 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.2656/0.2656, allocations: 133.3 MB / 0.5594 GB, free: 15.37 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009666/0.2666, allocations: 1.074 MB / 0.5605 GB, free: 14.3 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.576e-05/0.2666, allocations: 0 / 0.5605 GB, free: 14.3 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.2668, allocations: 32 kB / 0.5605 GB, free: 14.27 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 2.927e-05/0.2668, allocations: 27.77 kB / 0.5605 GB, free: 14.24 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.2681, allocations: 441.9 kB / 0.561 GB, free: 13.82 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 8.794e-05/0.2682, allocations: 71.53 kB / 0.561 GB, free: 13.75 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.686e-05/0.2682, allocations: 7.938 kB / 0.561 GB, free: 13.74 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.2683, allocations: 43.94 kB / 0.5611 GB, free: 13.7 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.005e-05/0.2684, allocations: 19.92 kB / 0.5611 GB, free: 13.68 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.2684, allocations: 8 kB / 0.5611 GB, free: 13.67 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000613/0.269, allocations: 470.5 kB / 0.5616 GB, free: 13.21 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.269, allocations: 7.984 kB / 0.5616 GB, free: 13.2 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.269, allocations: 23.92 kB / 0.5616 GB, free: 13.18 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004023/0.2694, allocations: 339.1 kB / 0.5619 GB, free: 12.84 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2694, allocations: 0 / 0.5619 GB, free: 12.84 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2694, allocations: 0 / 0.5619 GB, free: 12.84 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.2694, allocations: 0 / 0.5619 GB, free: 12.84 MB / 474.7 MB 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.0006065/0.27, allocations: 331.1 kB / 0.5622 GB, free: 12.49 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.2701, allocations: 12.03 kB / 0.5622 GB, free: 12.48 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.75e-05/0.2701, allocations: 38.75 kB / 0.5623 GB, free: 12.43 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.2702, allocations: 5.125 kB / 0.5623 GB, free: 12.43 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.895e-05/0.2702, allocations: 113 kB / 0.5624 GB, free: 12.29 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.2703, allocations: 11.98 kB / 0.5624 GB, free: 12.28 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.2703, allocations: 11.89 kB / 0.5624 GB, free: 12.27 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.2704, allocations: 69.17 kB / 0.5625 GB, free: 12.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2704, allocations: 0 / 0.5625 GB, free: 12.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.2704, allocations: 8 kB / 0.5625 GB, free: 12.19 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.2704, allocations: 0 / 0.5625 GB, free: 12.19 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.058e-05/0.2705, allocations: 49.47 kB / 0.5625 GB, free: 12.14 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.2709, allocations: 275.8 kB / 0.5628 GB, free: 11.83 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.874e-05/0.271, allocations: 62.55 kB / 0.5629 GB, free: 11.76 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.743e-05/0.271, allocations: 16.86 kB / 0.5629 GB, free: 11.74 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006928/0.2717, allocations: 260.7 kB / 0.5631 GB, free: 11.49 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.2717, allocations: 34.69 kB / 0.5632 GB, free: 11.45 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 7.91e-07/0.2717, allocations: 0 / 0.5632 GB, free: 11.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.003238/0.275, allocations: 0.6635 MB / 0.5638 GB, free: 10.78 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.275, allocations: 51.41 kB / 0.5638 GB, free: 10.72 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.945e-05/0.2751, allocations: 105.8 kB / 0.5639 GB, free: 10.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.2751, allocations: 25.7 kB / 0.564 GB, free: 10.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.2751, allocations: 84.38 kB / 0.5641 GB, free: 10.49 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.2752, allocations: 59.52 kB / 0.5641 GB, free: 10.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-05/0.2752, allocations: 41.67 kB / 0.5641 GB, free: 10.38 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.927e-05/0.2753, allocations: 326.8 kB / 0.5645 GB, free: 10.05 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.2754, allocations: 75.95 kB / 0.5645 GB, free: 9.98 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.2756, allocations: 110.4 kB / 0.5646 GB, free: 9.863 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.2759, allocations: 191.2 kB / 0.5648 GB, free: 9.668 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2759, allocations: 0 / 0.5648 GB, free: 9.668 MB / 474.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000348/0.2762, allocations: 265.1 kB / 0.5651 GB, free: 9.406 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.2762, allocations: 4 kB / 0.5651 GB, free: 9.402 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2762, allocations: 0 / 0.5651 GB, free: 9.402 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.2762, allocations: 7.375 kB / 0.5651 GB, free: 9.398 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.2765, allocations: 51.88 kB / 0.5651 GB, free: 9.348 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.2765, allocations: 4 kB / 0.5651 GB, free: 9.344 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.2768, allocations: 20.88 kB / 0.5652 GB, free: 9.324 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.2768, allocations: 11.97 kB / 0.5652 GB, free: 9.312 MB / 474.7 MB 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 7.705e-05/0.2769, allocations: 114.9 kB / 0.5653 GB, free: 9.191 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.2769, allocations: 19.89 kB / 0.5653 GB, free: 9.172 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004662/0.2774, allocations: 353 kB / 0.5656 GB, free: 8.828 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2774, allocations: 0 / 0.5656 GB, free: 8.828 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.2774, allocations: 0 / 0.5656 GB, free: 8.828 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.2774, allocations: 3.984 kB / 0.5656 GB, free: 8.824 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006631/0.278, allocations: 0.711 MB / 0.5663 GB, free: 8.035 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.278, allocations: 0 / 0.5663 GB, free: 8.035 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.2783, allocations: 51.89 kB / 0.5664 GB, free: 7.984 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2783, allocations: 0 / 0.5664 GB, free: 7.984 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.2783, allocations: 7.984 kB / 0.5664 GB, free: 7.977 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2783, allocations: 3.938 kB / 0.5664 GB, free: 7.973 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2783, allocations: 0 / 0.5664 GB, free: 7.973 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000344/0.2787, allocations: 355.3 kB / 0.5667 GB, free: 7.609 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.183e-05/0.2787, allocations: 27.91 kB / 0.5668 GB, free: 7.582 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.2788, allocations: 4 kB / 0.5668 GB, free: 7.578 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.279, allocations: 8 kB / 0.5668 GB, free: 7.57 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.279, allocations: 15.97 kB / 0.5668 GB, free: 7.555 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.279, allocations: 13.05 kB / 0.5668 GB, free: 7.543 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.879e-05/0.2791, allocations: 87.27 kB / 0.5669 GB, free: 7.457 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2791, allocations: 0 / 0.5669 GB, free: 7.457 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002665/0.2793, allocations: 99.73 kB / 0.567 GB, free: 7.359 MB / 474.7 MB 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.0009494/0.2803, allocations: 1.013 MB / 0.568 GB, free: 6.32 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003122/0.2806, allocations: 203.8 kB / 0.5682 GB, free: 6.121 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2806, allocations: 4.125 kB / 0.5682 GB, free: 6.117 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.2807, allocations: 108.4 kB / 0.5683 GB, free: 6.012 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.281, allocations: 31.94 kB / 0.5683 GB, free: 5.984 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005673/0.2816, allocations: 319.3 kB / 0.5686 GB, free: 5.637 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.131e-05/0.2816, allocations: 87.31 kB / 0.5687 GB, free: 5.531 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000195/0.2818, allocations: 65.61 kB / 0.5687 GB, free: 5.469 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.282, allocations: 44.45 kB / 0.5688 GB, free: 5.426 MB / 474.7 MB Notification: Performance of SimCode: time 5.91e-07/0.282, allocations: 0 / 0.5688 GB, free: 5.426 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01842/0.3004, allocations: 8.925 MB / 0.5775 GB, free: 12.65 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.727/7.027, allocations: 4 kB / 0.5775 GB, free: 12.64 MB / 490.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 8.96491217892617]