Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008151/0.0008151, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.0008831/0.0008831, allocations: 170 kB / 23.95 MB, free: 0.6172 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.8971/0.8971, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2376/0.2376, allocations: 34.25 MB / 294.9 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 442.2 MB, free: 1.695 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.099e-05, allocations: 2.281 kB / 442.2 MB, free: 1.691 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.2694/0.2695, allocations: 133.3 MB / 0.562 GB, free: 11.42 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009491/0.2704, allocations: 1.059 MB / 0.563 GB, free: 10.36 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.557e-05/0.2704, allocations: 0 / 0.563 GB, free: 10.36 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.2706, allocations: 31.81 kB / 0.563 GB, free: 10.33 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 3.279e-05/0.2706, allocations: 35.66 kB / 0.5631 GB, free: 10.29 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.2717, allocations: 444.5 kB / 0.5635 GB, free: 9.859 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.2718, allocations: 75.47 kB / 0.5636 GB, free: 9.785 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.839e-05/0.2719, allocations: 4 kB / 0.5636 GB, free: 9.781 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.502e-05/0.272, allocations: 43.94 kB / 0.5636 GB, free: 9.738 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.163e-05/0.272, allocations: 19.92 kB / 0.5636 GB, free: 9.719 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.272, allocations: 0 / 0.5636 GB, free: 9.719 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007679/0.2728, allocations: 471.1 kB / 0.5641 GB, free: 9.258 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/0.2728, allocations: 11.98 kB / 0.5641 GB, free: 9.246 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.2728, allocations: 19.94 kB / 0.5641 GB, free: 9.227 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.2733, allocations: 339.1 kB / 0.5644 GB, free: 8.895 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2733, allocations: 0 / 0.5644 GB, free: 8.895 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2733, allocations: 0 / 0.5644 GB, free: 8.895 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.2733, allocations: 4 kB / 0.5644 GB, free: 8.891 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.0004461/0.2737, allocations: 331.1 kB / 0.5648 GB, free: 8.539 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.2738, allocations: 8.031 kB / 0.5648 GB, free: 8.531 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.555e-05/0.2738, allocations: 42.73 kB / 0.5648 GB, free: 8.48 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.2738, allocations: 4.688 kB / 0.5648 GB, free: 8.477 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.941e-05/0.2739, allocations: 117.1 kB / 0.5649 GB, free: 8.336 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.2739, allocations: 11.94 kB / 0.5649 GB, free: 8.324 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.2739, allocations: 11.95 kB / 0.5649 GB, free: 8.312 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.274, allocations: 70.05 kB / 0.565 GB, free: 8.242 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2741, allocations: 0 / 0.565 GB, free: 8.242 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.2741, allocations: 5.5 kB / 0.565 GB, free: 8.238 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2741, allocations: 4 kB / 0.565 GB, free: 8.234 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.582e-05/0.2741, allocations: 51.95 kB / 0.5651 GB, free: 8.184 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.2745, allocations: 267.9 kB / 0.5653 GB, free: 7.879 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.796e-05/0.2746, allocations: 62.5 kB / 0.5654 GB, free: 7.809 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.681e-05/0.2746, allocations: 20.84 kB / 0.5654 GB, free: 7.785 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000703/0.2753, allocations: 256.7 kB / 0.5656 GB, free: 7.535 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.2753, allocations: 30.56 kB / 0.5657 GB, free: 7.496 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.2753, allocations: 0 / 0.5657 GB, free: 7.496 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.003309/0.2786, allocations: 0.6629 MB / 0.5663 GB, free: 6.832 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.2787, allocations: 59.41 kB / 0.5664 GB, free: 6.762 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.953e-05/0.2787, allocations: 105.8 kB / 0.5665 GB, free: 6.648 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.2788, allocations: 25.7 kB / 0.5665 GB, free: 6.617 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/0.2788, allocations: 88.38 kB / 0.5666 GB, free: 6.527 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.909e-05/0.2788, allocations: 51.53 kB / 0.5666 GB, free: 6.477 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.276e-05/0.2789, allocations: 41.67 kB / 0.5667 GB, free: 6.43 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002204/0.2791, allocations: 322.8 kB / 0.567 GB, free: 6.105 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.2793, allocations: 79.94 kB / 0.5671 GB, free: 6.027 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.2794, allocations: 103.4 kB / 0.5672 GB, free: 5.918 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.2796, allocations: 210.6 kB / 0.5674 GB, free: 5.707 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.2796, allocations: 0 / 0.5674 GB, free: 5.707 MB / 474.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003427/0.28, allocations: 250.3 kB / 0.5676 GB, free: 5.457 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.28, allocations: 4 kB / 0.5676 GB, free: 5.453 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.28, allocations: 0 / 0.5676 GB, free: 5.453 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.28, allocations: 4 kB / 0.5676 GB, free: 5.449 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/0.2803, allocations: 61 kB / 0.5677 GB, free: 5.391 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.2803, allocations: 4 kB / 0.5677 GB, free: 5.387 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.2806, allocations: 23.55 kB / 0.5677 GB, free: 5.367 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.2806, allocations: 7.984 kB / 0.5677 GB, free: 5.359 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.891e-05/0.2807, allocations: 119.4 kB / 0.5678 GB, free: 5.234 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.2807, allocations: 11.89 kB / 0.5678 GB, free: 5.223 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004787/0.2812, allocations: 357.5 kB / 0.5682 GB, free: 4.871 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2812, allocations: 0 / 0.5682 GB, free: 4.871 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2812, allocations: 0 / 0.5682 GB, free: 4.871 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2812, allocations: 0 / 0.5682 GB, free: 4.871 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007202/0.2819, allocations: 0.7115 MB / 0.5689 GB, free: 4.078 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2819, allocations: 0 / 0.5689 GB, free: 4.078 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.2822, allocations: 43.97 kB / 0.5689 GB, free: 4.035 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2822, allocations: 4 kB / 0.5689 GB, free: 4.031 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.2822, allocations: 7.984 kB / 0.5689 GB, free: 4.023 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2822, allocations: 0 / 0.5689 GB, free: 4.023 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2822, allocations: 0 / 0.5689 GB, free: 4.023 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.2826, allocations: 362.5 kB / 0.5693 GB, free: 3.656 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-05/0.2826, allocations: 23.91 kB / 0.5693 GB, free: 3.633 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.2827, allocations: 8 kB / 0.5693 GB, free: 3.625 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.2829, allocations: 7.984 kB / 0.5693 GB, free: 3.617 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.2829, allocations: 19.97 kB / 0.5693 GB, free: 3.598 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.2829, allocations: 7.984 kB / 0.5693 GB, free: 3.59 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.275e-05/0.283, allocations: 90.34 kB / 0.5694 GB, free: 3.504 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.283, allocations: 0 / 0.5694 GB, free: 3.504 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003482/0.2833, allocations: 107.7 kB / 0.5695 GB, free: 3.398 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.0008546/0.2842, allocations: 1.009 MB / 0.5705 GB, free: 2.363 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003503/0.2845, allocations: 204.5 kB / 0.5707 GB, free: 2.164 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2845, allocations: 0 / 0.5707 GB, free: 2.164 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.2847, allocations: 106.5 kB / 0.5708 GB, free: 2.062 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.285, allocations: 34.44 kB / 0.5708 GB, free: 2.031 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006514/0.2856, allocations: 316.9 kB / 0.5711 GB, free: 1.684 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.005e-05/0.2857, allocations: 83.25 kB / 0.5712 GB, free: 1.582 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002156/0.2859, allocations: 72.83 kB / 0.5713 GB, free: 1.512 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.2861, allocations: 44.45 kB / 0.5713 GB, free: 1.469 MB / 474.7 MB Notification: Performance of SimCode: time 9.12e-07/0.2861, allocations: 3.938 kB / 0.5713 GB, free: 1.465 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.3081, allocations: 8.922 MB / 0.58 GB, free: 8.695 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.914/7.222, allocations: 3.938 kB / 0.58 GB, free: 8.691 MB / 490.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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: 9.169983030296862]