Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.004827/0.004827, allocations: 111.4 kB / 21.97 MB, free: 5.25 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.001326/0.001326, allocations: 206.5 kB / 25.27 MB, free: 3.238 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.281/1.281, allocations: 207.6 MB / 236 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="cs",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.001675/0.001675, allocations: 51.92 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2118, allocations: 49.16 MB / 397.1 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001976/0.2138, allocations: 1.37 MB / 398.5 MB, free: 8.039 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02578/0.2396, allocations: 23.89 MB / 422.4 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.872e-05/0.2396, allocations: 3.938 kB / 422.4 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.2397, allocations: 5.438 kB / 422.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01503/0.2548, allocations: 5.663 MB / 428.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000854/0.2556, allocations: 365.8 kB / 428.4 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.2557, allocations: 79.39 kB / 428.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.552e-05/0.2558, allocations: 2.75 kB / 428.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.455e-05/0.2558, allocations: 36.41 kB / 428.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.51e-05/0.2559, allocations: 39.02 kB / 428.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.256, allocations: 2.75 kB / 428.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01731/0.2733, allocations: 8.908 MB / 437.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.16e-05/0.2733, allocations: 23.84 kB / 437.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.312e-05/0.2734, allocations: 27.81 kB / 437.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009252/0.2826, allocations: 4.354 MB / 441.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2826, allocations: 3.938 kB / 441.9 MB, free: 6.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2826, allocations: 0 / 441.9 MB, free: 6.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.2826, allocations: 0 / 441.9 MB, free: 6.477 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.002159/0.2848, allocations: 0.8603 MB / 442.8 MB, free: 5.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.2848, allocations: 15.98 kB / 442.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.307e-05/0.2848, allocations: 4.125 kB / 442.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.907e-05/0.2849, allocations: 30.75 kB / 442.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.522e-05/0.2849, allocations: 8.891 kB / 442.8 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.2851, allocations: 141.7 kB / 442.9 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.2851, allocations: 4 kB / 443 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.2851, allocations: 0 / 443 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.2853, allocations: 83.33 kB / 443 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.2853, allocations: 0 / 443 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.2853, allocations: 0 / 443 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2853, allocations: 0 / 443 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.2854, allocations: 31.97 kB / 443.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/0.2856, allocations: 165.6 kB / 443.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.2859, allocations: 93.12 kB / 443.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.876e-05/0.286, allocations: 29.77 kB / 443.3 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.504e-05/0.2861, allocations: 11.98 kB / 443.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.2861, allocations: 38.56 kB / 443.4 MB, free: 4.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.2861, allocations: 4 kB / 443.4 MB, free: 4.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003069/0.2864, allocations: 97.92 kB / 443.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.2865, allocations: 81.11 kB / 443.6 MB, free: 4.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.2866, allocations: 137.8 kB / 443.7 MB, free: 4.465 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.2866, allocations: 25.7 kB / 443.7 MB, free: 4.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.2866, allocations: 88.52 kB / 443.8 MB, free: 4.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.2867, allocations: 27.77 kB / 443.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.2867, allocations: 17.72 kB / 443.9 MB, free: 4.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.2869, allocations: 326.8 kB / 444.2 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.209e-05/0.2869, allocations: 23.92 kB / 444.2 MB, free: 3.941 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-05/0.287, allocations: 25.72 kB / 444.2 MB, free: 3.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.2871, allocations: 53.67 kB / 444.3 MB, free: 3.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2871, allocations: 0 / 444.3 MB, free: 3.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001868/0.2873, allocations: 89.56 kB / 444.4 MB, free: 3.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2873, allocations: 4 kB / 444.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2873, allocations: 0 / 444.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2873, allocations: 0 / 444.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.38e-05/0.2874, allocations: 15.98 kB / 444.4 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.2874, allocations: 0 / 444.4 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.74e-05/0.2874, allocations: 3.938 kB / 444.4 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.2875, allocations: 7.938 kB / 444.4 MB, free: 3.727 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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 9.322e-05/0.2875, allocations: 117.8 kB / 444.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.2876, allocations: 11.98 kB / 444.5 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.2878, allocations: 97.55 kB / 444.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2878, allocations: 0 / 444.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2878, allocations: 0 / 444.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.2878, allocations: 4 kB / 444.6 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.288, allocations: 156.6 kB / 444.8 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.288, allocations: 0 / 444.8 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.478e-05/0.288, allocations: 8 kB / 444.8 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.288, allocations: 0 / 444.8 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.288, allocations: 11.98 kB / 444.8 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.288, allocations: 128 / 444.8 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2881, allocations: 4 kB / 444.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.2883, allocations: 117.8 kB / 444.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.2883, allocations: 7.984 kB / 444.9 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.2883, allocations: 0 / 444.9 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.431e-05/0.2884, allocations: 12 kB / 444.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.2884, allocations: 7.984 kB / 444.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.2884, allocations: 3.938 kB / 445 MB, free: 3.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.891e-05/0.2885, allocations: 111.3 kB / 445.1 MB, free: 2.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2885, allocations: 0 / 445.1 MB, free: 2.988 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002321/0.2909, allocations: 0.9355 MB / 446 MB, free: 2.051 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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.004937/0.2958, allocations: 1.915 MB / 447.9 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.296, allocations: 43.97 kB / 448 MB, free: 56 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.296, allocations: 0 / 448 MB, free: 56 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.567e-05/0.2961, allocations: 35.92 kB / 448 MB, free: 20 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.2963, allocations: 19.92 kB / 448 MB, free: 0 / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.299, allocations: 1.777 MB / 449.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.2994, allocations: 0.6883 MB / 450.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.486e-05/0.2994, allocations: 16.34 kB / 450.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.756e-05/0.2995, allocations: 23.44 kB / 450.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2995, allocations: 0 / 450.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06202/0.3615, allocations: 30.86 MB / 481.4 MB, free: 14.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.72, allocations: 7.891 kB / 481.4 MB, free: 14.4 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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: 21.809802621020935]