Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009312/0.0009314, allocations: 97.77 kB / 16.95 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 183.7 kB / 17.84 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004472/0.0004473, allocations: 11.98 kB / 280.9 MB, free: 3.641 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09269/0.09315, allocations: 47.58 MB / 328.4 MB, free: 3.992 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001375/0.09457, allocations: 1.078 MB / 329.5 MB, free: 2.902 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.3261/0.4207, allocations: 136.9 MB / 466.4 MB, free: 128 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.634e-05/0.4208, allocations: 0 / 466.4 MB, free: 128 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.174e-05/0.4208, allocations: 9.703 kB / 466.4 MB, free: 120 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009974/0.4218, allocations: 246.5 kB / 466.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.4233, allocations: 0.585 MB / 467.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.4234, allocations: 79.67 kB / 467.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.824e-05/0.4235, allocations: 8 kB / 467.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.352e-05/0.4235, allocations: 27.86 kB / 467.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.702e-05/0.4236, allocations: 43.83 kB / 467.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.4236, allocations: 4 kB / 467.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001866/0.4255, allocations: 1.045 MB / 468.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.194e-05/0.4256, allocations: 19.92 kB / 468.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.4256, allocations: 33.64 kB / 468.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007907/0.4264, allocations: 0.5242 MB / 469 MB, free: 13.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4264, allocations: 0 / 469 MB, free: 13.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4264, allocations: 0 / 469 MB, free: 13.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.4264, allocations: 0 / 469 MB, free: 13.5 MB / 366.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.0006824/0.4271, allocations: 471.7 kB / 469.5 MB, free: 13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.4272, allocations: 8.031 kB / 469.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.358e-05/0.4272, allocations: 38.56 kB / 469.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002807/0.4275, allocations: 31.95 kB / 469.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.4278, allocations: 197.6 kB / 469.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.4278, allocations: 11.98 kB / 469.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.4278, allocations: 0 / 469.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.428, allocations: 71.33 kB / 469.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.428, allocations: 4 kB / 469.9 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.428, allocations: 3.984 kB / 469.9 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.428, allocations: 4 kB / 469.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.642e-05/0.4281, allocations: 39.97 kB / 469.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001937/0.4283, allocations: 190.6 kB / 470.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.4286, allocations: 121 kB / 470.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.146e-05/0.4287, allocations: 37.77 kB / 470.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004547/0.4292, allocations: 133 kB / 470.4 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.4292, allocations: 42.44 kB / 470.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.4292, allocations: 4 kB / 470.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.000331/0.4295, allocations: 117.5 kB / 470.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.4296, allocations: 81.05 kB / 470.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.4297, allocations: 141.8 kB / 470.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.4297, allocations: 25.7 kB / 470.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.212e-05/0.4298, allocations: 84.14 kB / 470.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.4298, allocations: 31.62 kB / 470.9 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.4298, allocations: 0 / 470.9 MB, free: 11.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.43, allocations: 322.8 kB / 471.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.124e-05/0.43, allocations: 23.97 kB / 471.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.841e-05/0.4301, allocations: 47.42 kB / 471.3 MB, free: 10.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.006e-05/0.4302, allocations: 31.94 kB / 471.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4302, allocations: 4 kB / 471.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002212/0.4304, allocations: 109.9 kB / 471.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.4304, allocations: 4 kB / 471.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4305, allocations: 0 / 471.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.4305, allocations: 4 kB / 471.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.336e-05/0.4305, allocations: 15.98 kB / 471.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.4306, allocations: 0 / 471.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.462e-05/0.4306, allocations: 8 kB / 471.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.4306, allocations: 4 kB / 471.5 MB, free: 10.81 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.548e-05/0.4307, allocations: 125.8 kB / 471.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.4307, allocations: 11.88 kB / 471.6 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.431, allocations: 109.9 kB / 471.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.431, allocations: 4 kB / 471.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.431, allocations: 0 / 471.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.431, allocations: 3.938 kB / 471.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.4312, allocations: 181.6 kB / 471.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4312, allocations: 3.953 kB / 471.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.65e-05/0.4313, allocations: 20.88 kB / 471.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4313, allocations: 0 / 471.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.4313, allocations: 3.984 kB / 471.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.4313, allocations: 7.938 kB / 471.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4313, allocations: 0 / 471.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.4316, allocations: 156.9 kB / 472.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.914e-05/0.4317, allocations: 101 kB / 472.2 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.4318, allocations: 7.938 kB / 472.2 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.057e-05/0.4318, allocations: 3.984 kB / 472.2 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.4319, allocations: 7.938 kB / 472.2 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.4319, allocations: 0 / 472.2 MB, free: 9.977 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.638e-05/0.432, allocations: 115.2 kB / 472.3 MB, free: 9.863 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.432, allocations: 0 / 472.3 MB, free: 9.863 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006648/0.4326, allocations: 199.8 kB / 472.5 MB, free: 9.668 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001575/0.4342, allocations: 1.044 MB / 473.5 MB, free: 8.598 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.4344, allocations: 64.05 kB / 473.6 MB, free: 8.535 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.4344, allocations: 7.938 kB / 473.6 MB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.816e-05/0.4345, allocations: 32.06 kB / 473.6 MB, free: 8.496 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.4348, allocations: 23.97 kB / 473.7 MB, free: 8.473 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.4361, allocations: 0.9255 MB / 474.6 MB, free: 7.492 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.4364, allocations: 0.6887 MB / 475.3 MB, free: 6.777 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.921e-05/0.4364, allocations: 15.89 kB / 475.3 MB, free: 6.762 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.225e-05/0.4365, allocations: 27.42 kB / 475.3 MB, free: 6.734 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4365, allocations: 4 kB / 475.3 MB, free: 6.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.4547, allocations: 7.233 MB / 482.6 MB, free: 15.49 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.4549, allocations: 249.5 kB / 482.8 MB, free: 15.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.103/2.558, allocations: 3.938 kB / 482.8 MB, free: 15.24 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat does not exist to compare? outputFormat=mat