Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007432/0.0007432, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008027/0.0008027, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.901/0.901, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2673/0.2673, allocations: 34.24 MB / 294.8 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 442.1 MB, free: 1.594 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.209e-05, allocations: 2.281 kB / 442.1 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.2624/0.2624, allocations: 133.3 MB / 0.562 GB, free: 11.26 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008758/0.2633, allocations: 1.063 MB / 0.563 GB, free: 10.19 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.603e-05/0.2633, allocations: 0 / 0.563 GB, free: 10.19 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.2635, allocations: 35.75 kB / 0.563 GB, free: 10.16 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 2.367e-05/0.2635, allocations: 23.78 kB / 0.563 GB, free: 10.13 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008853/0.2644, allocations: 441.5 kB / 0.5635 GB, free: 9.699 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 8.588e-05/0.2645, allocations: 71.55 kB / 0.5635 GB, free: 9.629 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.474e-05/0.2645, allocations: 3.984 kB / 0.5635 GB, free: 9.625 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.936e-05/0.2646, allocations: 51.83 kB / 0.5636 GB, free: 9.574 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.821e-05/0.2646, allocations: 23.97 kB / 0.5636 GB, free: 9.551 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.2647, allocations: 0 / 0.5636 GB, free: 9.551 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006235/0.2653, allocations: 466.5 kB / 0.5641 GB, free: 9.094 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.2653, allocations: 11.97 kB / 0.5641 GB, free: 9.082 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.613e-05/0.2653, allocations: 19.94 kB / 0.5641 GB, free: 9.062 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003528/0.2657, allocations: 335.2 kB / 0.5644 GB, free: 8.734 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.2657, allocations: 0 / 0.5644 GB, free: 8.734 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2657, allocations: 0 / 0.5644 GB, free: 8.734 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.2657, allocations: 0 / 0.5644 GB, free: 8.734 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.0004117/0.2661, allocations: 339 kB / 0.5647 GB, free: 8.375 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2661, allocations: 15.97 kB / 0.5647 GB, free: 8.359 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.822e-05/0.2662, allocations: 38.73 kB / 0.5648 GB, free: 8.312 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.646e-05/0.2662, allocations: 8.688 kB / 0.5648 GB, free: 8.305 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.45e-05/0.2663, allocations: 113.2 kB / 0.5649 GB, free: 8.168 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.2663, allocations: 0 / 0.5649 GB, free: 8.168 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.2663, allocations: 11.95 kB / 0.5649 GB, free: 8.156 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.2664, allocations: 73.8 kB / 0.565 GB, free: 8.082 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2664, allocations: 0 / 0.565 GB, free: 8.082 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.2664, allocations: 7.984 kB / 0.565 GB, free: 8.074 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.2664, allocations: 4 kB / 0.565 GB, free: 8.07 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.629e-05/0.2665, allocations: 60.83 kB / 0.5651 GB, free: 8.012 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.2668, allocations: 267.9 kB / 0.5653 GB, free: 7.707 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.005e-05/0.2669, allocations: 58.56 kB / 0.5654 GB, free: 7.641 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.784e-05/0.2669, allocations: 24.97 kB / 0.5654 GB, free: 7.613 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000671/0.2676, allocations: 247.6 kB / 0.5656 GB, free: 7.371 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.2676, allocations: 34.56 kB / 0.5657 GB, free: 7.328 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.2676, allocations: 2.25 kB / 0.5657 GB, free: 7.328 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.003291/0.2709, allocations: 0.6541 MB / 0.5663 GB, free: 6.672 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.2709, allocations: 59.39 kB / 0.5664 GB, free: 6.602 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.79e-05/0.271, allocations: 104.4 kB / 0.5665 GB, free: 6.492 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.271, allocations: 33.7 kB / 0.5665 GB, free: 6.453 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.271, allocations: 92.34 kB / 0.5666 GB, free: 6.359 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.2711, allocations: 51.55 kB / 0.5666 GB, free: 6.309 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.566e-05/0.2711, allocations: 45.67 kB / 0.5667 GB, free: 6.258 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.012e-05/0.2712, allocations: 322.8 kB / 0.567 GB, free: 5.934 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.2713, allocations: 83.94 kB / 0.5671 GB, free: 5.852 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.2715, allocations: 102.5 kB / 0.5672 GB, free: 5.742 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.2718, allocations: 198.5 kB / 0.5673 GB, free: 5.539 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2718, allocations: 0.5625 kB / 0.5673 GB, free: 5.539 MB / 474.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003588/0.2721, allocations: 257.7 kB / 0.5676 GB, free: 5.285 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2722, allocations: 8 kB / 0.5676 GB, free: 5.277 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2722, allocations: 0 / 0.5676 GB, free: 5.277 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2722, allocations: 3.984 kB / 0.5676 GB, free: 5.273 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.2725, allocations: 47.95 kB / 0.5676 GB, free: 5.227 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.2725, allocations: 3.938 kB / 0.5676 GB, free: 5.223 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.2727, allocations: 19.98 kB / 0.5677 GB, free: 5.203 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.2727, allocations: 11.98 kB / 0.5677 GB, free: 5.191 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 8.234e-05/0.2728, allocations: 121.8 kB / 0.5678 GB, free: 5.062 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.2729, allocations: 11.89 kB / 0.5678 GB, free: 5.051 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004828/0.2733, allocations: 344.5 kB / 0.5681 GB, free: 4.711 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2733, allocations: 4 kB / 0.5681 GB, free: 4.707 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2733, allocations: 0 / 0.5681 GB, free: 4.707 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2734, allocations: 6.812 kB / 0.5681 GB, free: 4.703 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006921/0.274, allocations: 0.7019 MB / 0.5688 GB, free: 3.922 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.274, allocations: 0 / 0.5688 GB, free: 3.922 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/0.2743, allocations: 47.91 kB / 0.5689 GB, free: 3.875 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2743, allocations: 3.938 kB / 0.5689 GB, free: 3.871 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.2743, allocations: 7.984 kB / 0.5689 GB, free: 3.863 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2743, allocations: 4 kB / 0.5689 GB, free: 3.859 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2743, allocations: 0 / 0.5689 GB, free: 3.859 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/0.2747, allocations: 362.5 kB / 0.5692 GB, free: 3.492 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.2748, allocations: 27.89 kB / 0.5693 GB, free: 3.465 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.2748, allocations: 0 / 0.5693 GB, free: 3.465 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.275, allocations: 15.98 kB / 0.5693 GB, free: 3.449 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.275, allocations: 11.97 kB / 0.5693 GB, free: 3.438 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.2751, allocations: 15.98 kB / 0.5693 GB, free: 3.422 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.727e-05/0.2751, allocations: 83.22 kB / 0.5694 GB, free: 3.34 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2751, allocations: 3.938 kB / 0.5694 GB, free: 3.336 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002763/0.2754, allocations: 107.7 kB / 0.5695 GB, free: 3.23 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.0007666/0.2761, allocations: 1.008 MB / 0.5705 GB, free: 2.199 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.2765, allocations: 199.9 kB / 0.5707 GB, free: 2.004 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.2765, allocations: 0 / 0.5707 GB, free: 2.004 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.2766, allocations: 115.9 kB / 0.5708 GB, free: 1.891 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.2769, allocations: 27.3 kB / 0.5708 GB, free: 1.867 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005685/0.2775, allocations: 318.2 kB / 0.5711 GB, free: 1.52 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.058e-05/0.2775, allocations: 87.31 kB / 0.5712 GB, free: 1.414 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002004/0.2777, allocations: 62.41 kB / 0.5712 GB, free: 1.355 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.2779, allocations: 48.44 kB / 0.5713 GB, free: 1.309 MB / 474.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2779, allocations: 0 / 0.5713 GB, free: 1.309 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01868/0.2965, allocations: 8.928 MB / 0.58 GB, free: 8.512 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.865/7.161, allocations: 15.38 kB / 0.58 GB, free: 8.5 MB / 490.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 9.137583225034177]