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.0009626/0.0009626, allocations: 97.64 kB / 16.93 MB, free: 6.445 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.001025/0.001025, allocations: 185.7 kB / 17.83 MB, free: 6.012 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.449/1.449, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004431/0.0004432, allocations: 8 kB / 280.8 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09408/0.09454, allocations: 47.57 MB / 328.4 MB, free: 4 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001322/0.09591, allocations: 1.052 MB / 329.5 MB, free: 2.938 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.3469/0.4429, allocations: 127.4 MB / 456.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.696e-05/0.443, allocations: 0 / 456.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.663e-05/0.443, allocations: 11.92 kB / 456.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009653/0.444, allocations: 243.3 kB / 457.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.4453, allocations: 0.5783 MB / 457.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.736e-05/0.4453, allocations: 51.86 kB / 457.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.4454, allocations: 3.984 kB / 457.8 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.779e-05/0.4455, allocations: 31.92 kB / 457.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.198e-05/0.4455, allocations: 27.91 kB / 457.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.4456, allocations: 4 kB / 457.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001787/0.4474, allocations: 1.037 MB / 458.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.579e-05/0.4474, allocations: 7.984 kB / 458.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.4474, allocations: 41.64 kB / 458.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007296/0.4482, allocations: 0.4969 MB / 459.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4482, allocations: 4 kB / 459.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4482, allocations: 0 / 459.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.4482, allocations: 0 / 459.4 MB, free: 5.691 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.0005631/0.4488, allocations: 467.7 kB / 459.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.4488, allocations: 8.031 kB / 459.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.204e-05/0.4489, allocations: 30.56 kB / 459.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002927/0.4492, allocations: 35.95 kB / 460 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.4493, allocations: 196.5 kB / 460.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.4494, allocations: 4 kB / 460.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.4494, allocations: 3.938 kB / 460.2 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.4495, allocations: 75.38 kB / 460.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.4496, allocations: 4 kB / 460.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.4496, allocations: 0 / 460.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.4496, allocations: 4 kB / 460.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.395e-05/0.4497, allocations: 39.97 kB / 460.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001917/0.4499, allocations: 194.5 kB / 460.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.4502, allocations: 117.2 kB / 460.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.478e-05/0.4502, allocations: 12.05 kB / 460.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.4503, allocations: 42.58 kB / 460.6 MB, free: 4.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.4503, allocations: 0 / 460.6 MB, free: 4.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003516/0.4506, allocations: 117.9 kB / 460.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.4507, allocations: 77.11 kB / 460.8 MB, free: 4.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.4508, allocations: 145.8 kB / 461 MB, free: 3.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.4509, allocations: 29.64 kB / 461 MB, free: 3.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/0.4509, allocations: 88.14 kB / 461.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.4509, allocations: 27.64 kB / 461.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.451, allocations: 0 / 461.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.4511, allocations: 318.8 kB / 461.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.607e-05/0.4511, allocations: 27.97 kB / 461.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.639e-05/0.4512, allocations: 51.42 kB / 461.5 MB, free: 3.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.241e-05/0.4513, allocations: 31.97 kB / 461.5 MB, free: 3.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4513, allocations: 3.953 kB / 461.5 MB, free: 3.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002223/0.4515, allocations: 109.4 kB / 461.6 MB, free: 3.219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.4516, allocations: 6.188 kB / 461.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.4516, allocations: 0 / 461.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.4516, allocations: 8.062 kB / 461.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.456e-05/0.4517, allocations: 15.98 kB / 461.7 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4517, allocations: 0 / 461.7 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.65e-05/0.4517, allocations: 4 kB / 461.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.4518, allocations: 4 kB / 461.7 MB, free: 3.184 MB / 350.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 8.113e-05/0.4518, allocations: 121.8 kB / 461.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.87e-05/0.4519, allocations: 15.8 kB / 461.8 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.4521, allocations: 113.9 kB / 461.9 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.4522, allocations: 4 kB / 461.9 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4522, allocations: 0 / 461.9 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.4522, allocations: 0 / 461.9 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.4523, allocations: 182.5 kB / 462.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4523, allocations: 0 / 462.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.232e-05/0.4524, allocations: 15.95 kB / 462.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4524, allocations: 0 / 462.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.4524, allocations: 7.984 kB / 462.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.4524, allocations: 3.438 kB / 462.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4524, allocations: 0 / 462.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.4528, allocations: 175.5 kB / 462.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.611e-05/0.4528, allocations: 96.97 kB / 462.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.4529, allocations: 4 kB / 462.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.611e-05/0.4529, allocations: 7.984 kB / 462.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.453, allocations: 8.062 kB / 462.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.453, allocations: 0 / 462.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.947e-05/0.453, allocations: 119.2 kB / 462.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4531, allocations: 0 / 462.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004882/0.4535, allocations: 195.8 kB / 462.7 MB, free: 2.031 MB / 350.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.001446/0.455, allocations: 1.122 MB / 463.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.4552, allocations: 63.89 kB / 463.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4552, allocations: 0 / 463.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.808e-05/0.4553, allocations: 32.11 kB / 463.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.4555, allocations: 27.91 kB / 464 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.4569, allocations: 1.362 MB / 465.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.4571, allocations: 0.6926 MB / 466 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.988e-05/0.4572, allocations: 20.73 kB / 466 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.694e-05/0.4573, allocations: 23.44 kB / 466.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4573, allocations: 3.938 kB / 466.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.4775, allocations: 7.326 MB / 473.4 MB, free: 7.246 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/0.4777, allocations: 232 kB / 473.6 MB, free: 7.008 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.484, allocations: 4 kB / 473.6 MB, free: 7.004 MB / 366.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