Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001081/0.001081, allocations: 116.1 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001192, allocations: 205.8 kB / 18.27 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.256/1.256, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 59.44 kB / 306.5 MB, free: 0.8672 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07439/0.07559, allocations: 50.53 MB / 357.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002253/0.07787, allocations: 1.443 MB / 358.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1522/0.2301, allocations: 23.72 MB / 382.2 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.611e-05/0.2302, allocations: 0 / 382.2 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.201e-05/0.2303, allocations: 2.625 kB / 382.2 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0123/0.2427, allocations: 5.396 MB / 387.6 MB, free: 6.191 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000557/0.2432, allocations: 324.1 kB / 388 MB, free: 6.039 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.187e-05/0.2433, allocations: 71.89 kB / 388 MB, free: 6.016 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.3e-05/0.2434, allocations: 3.875 kB / 388 MB, free: 6.016 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.555e-05/0.2434, allocations: 36.42 kB / 388.1 MB, free: 6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.749e-05/0.2435, allocations: 42.64 kB / 388.1 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.2435, allocations: 7.375 kB / 388.1 MB, free: 5.977 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01113/0.2546, allocations: 8.82 MB / 396.9 MB, free: 1.668 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.142e-05/0.2547, allocations: 16 kB / 397 MB, free: 1.656 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.2547, allocations: 31.67 kB / 397 MB, free: 1.637 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006347/0.2611, allocations: 4.463 MB / 401.4 MB, free: 14.94 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2611, allocations: 4 kB / 401.4 MB, free: 14.94 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2611, allocations: 0 / 401.4 MB, free: 14.94 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.2611, allocations: 0 / 401.4 MB, free: 14.94 MB / 318.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.002404/0.2635, allocations: 0.9229 MB / 402.4 MB, free: 14.21 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.2636, allocations: 8.719 kB / 402.4 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.948e-05/0.2636, allocations: 35.53 kB / 402.4 MB, free: 14.17 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.2637, allocations: 5.656 kB / 402.4 MB, free: 14.17 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.2639, allocations: 202.4 kB / 402.6 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.2639, allocations: 2.75 kB / 402.6 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.2639, allocations: 4 kB / 402.6 MB, free: 13.94 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.2641, allocations: 70.55 kB / 402.7 MB, free: 13.88 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2641, allocations: 2.312 kB / 402.7 MB, free: 13.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.2641, allocations: 0 / 402.7 MB, free: 13.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.2641, allocations: 0 / 402.7 MB, free: 13.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.2643, allocations: 43.38 kB / 402.7 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.2645, allocations: 193 kB / 402.9 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.2648, allocations: 97.88 kB / 403 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.549e-05/0.2648, allocations: 25.7 kB / 403 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.846e-05/0.2649, allocations: 15.98 kB / 403.1 MB, free: 13.51 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.2649, allocations: 40.75 kB / 403.1 MB, free: 13.46 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.2649, allocations: 0 / 403.1 MB, free: 13.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002845/0.2652, allocations: 99.66 kB / 403.2 MB, free: 13.36 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.2653, allocations: 81.11 kB / 403.3 MB, free: 13.26 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.2654, allocations: 141.8 kB / 403.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.2654, allocations: 25.7 kB / 403.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/0.2654, allocations: 88.14 kB / 403.5 MB, free: 12.99 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.2655, allocations: 23.64 kB / 403.6 MB, free: 12.97 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.2655, allocations: 17.72 kB / 403.6 MB, free: 12.95 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.2656, allocations: 326.8 kB / 403.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.53e-05/0.2657, allocations: 12 kB / 403.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.301e-05/0.2658, allocations: 33.64 kB / 403.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.2659, allocations: 57.69 kB / 404 MB, free: 12.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2659, allocations: 0 / 404 MB, free: 12.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001791/0.2661, allocations: 77.61 kB / 404.1 MB, free: 12.42 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2661, allocations: 4 kB / 404.1 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2661, allocations: 0 / 404.1 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.2661, allocations: 0 / 404.1 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.23e-05/0.2662, allocations: 15.98 kB / 404.1 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.2662, allocations: 0 / 404.1 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.152e-05/0.2663, allocations: 4 kB / 404.1 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.2663, allocations: 4 kB / 404.1 MB, free: 12.39 MB / 318.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 7.554e-05/0.2663, allocations: 122.8 kB / 404.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.2664, allocations: 4.375 kB / 404.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/0.2666, allocations: 108.8 kB / 404.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2666, allocations: 0 / 404.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.2666, allocations: 0 / 404.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2667, allocations: 7.938 kB / 404.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.2668, allocations: 189.4 kB / 404.5 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.2668, allocations: 4 kB / 404.5 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.563e-05/0.2669, allocations: 19.88 kB / 404.5 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2669, allocations: 0 / 404.5 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.2669, allocations: 3.984 kB / 404.5 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.2669, allocations: 4 kB / 404.5 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2669, allocations: 0 / 404.5 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.2671, allocations: 109.9 kB / 404.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.2672, allocations: 93 kB / 404.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.2672, allocations: 4 kB / 404.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.41e-05/0.2673, allocations: 4 kB / 404.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.2673, allocations: 8.297 kB / 404.8 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.2673, allocations: 4 kB / 404.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.877e-05/0.2674, allocations: 111.2 kB / 404.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2674, allocations: 0 / 404.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002435/0.2699, allocations: 0.9408 MB / 405.8 MB, free: 10.57 MB / 318.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.004551/0.2744, allocations: 1.883 MB / 407.7 MB, free: 8.668 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.2746, allocations: 59.89 kB / 407.8 MB, free: 8.609 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2747, allocations: 0 / 407.8 MB, free: 8.609 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.702e-05/0.2747, allocations: 27.92 kB / 407.8 MB, free: 8.582 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.2749, allocations: 19.92 kB / 407.8 MB, free: 8.562 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.2771, allocations: 1.796 MB / 409.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.2773, allocations: 0.6883 MB / 410.3 MB, free: 5.961 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.339e-05/0.2774, allocations: 19.92 kB / 410.3 MB, free: 5.941 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.21e-05/0.2774, allocations: 19.44 kB / 410.3 MB, free: 5.922 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2774, allocations: 0 / 410.3 MB, free: 5.922 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.151/1.428, allocations: 29.37 MB / 439.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/1.429, allocations: 237.9 kB / 439.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.402/4.831, allocations: 4.062 kB / 439.9 MB, free: 8.379 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches