Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008282/0.0008283, allocations: 91.97 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009621/0.0009623, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.189/1.189, allocations: 227.7 MB / 246.8 MB, free: 11.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002022/0.0002022, allocations: 8 kB / 307.8 MB, free: 0.7227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07757/0.07778, allocations: 51.51 MB / 359.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001161/0.07898, allocations: 1.095 MB / 360.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004368/0.08336, allocations: 4.031 MB / 364.5 MB, free: 8.047 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.041e-05/0.0834, allocations: 0 / 364.5 MB, free: 8.047 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.08342, allocations: 3.984 kB / 364.5 MB, free: 8.043 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007023/0.08413, allocations: 251.2 kB / 364.7 MB, free: 7.797 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007527/0.08489, allocations: 426 kB / 365.1 MB, free: 7.383 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.882e-05/0.08497, allocations: 71.58 kB / 365.2 MB, free: 7.312 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.077e-05/0.08501, allocations: 4 kB / 365.2 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.351e-05/0.0851, allocations: 39.84 kB / 365.3 MB, free: 7.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005961/0.0857, allocations: 395.1 kB / 365.6 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.227e-06/0.08573, allocations: 0 / 365.6 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007442/0.08648, allocations: 0.5614 MB / 366.2 MB, free: 6.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.0865, allocations: 7.984 kB / 366.2 MB, free: 6.312 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.881e-05/0.08654, allocations: 49.56 kB / 366.3 MB, free: 6.258 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005791/0.08713, allocations: 455.4 kB / 366.7 MB, free: 5.812 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.08714, allocations: 0 / 366.7 MB, free: 5.812 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.08715, allocations: 4 kB / 366.7 MB, free: 5.809 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.145e-06/0.08716, allocations: 0 / 366.7 MB, free: 5.809 MB / 302.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.0004282/0.08759, allocations: 445.3 kB / 367.1 MB, free: 5.328 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.08763, allocations: 8.031 kB / 367.1 MB, free: 5.32 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.104e-05/0.08766, allocations: 38.73 kB / 367.2 MB, free: 5.273 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.108e-05/0.08769, allocations: 4.938 kB / 367.2 MB, free: 5.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.08787, allocations: 192.2 kB / 367.4 MB, free: 5.043 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.08789, allocations: 4.125 kB / 367.4 MB, free: 5.039 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.08791, allocations: 7.984 kB / 367.4 MB, free: 5.031 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.08803, allocations: 67.39 kB / 367.5 MB, free: 4.953 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.291e-06/0.08805, allocations: 4 kB / 367.5 MB, free: 4.949 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.08806, allocations: 0 / 367.5 MB, free: 4.949 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.08807, allocations: 0 / 367.5 MB, free: 4.949 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.703e-05/0.08815, allocations: 19.92 kB / 367.5 MB, free: 4.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.08831, allocations: 170.6 kB / 367.6 MB, free: 4.711 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.08856, allocations: 85.19 kB / 367.7 MB, free: 4.609 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.801e-05/0.08863, allocations: 29.64 kB / 367.8 MB, free: 4.574 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008643/0.0895, allocations: 1.536 MB / 369.3 MB, free: 2.688 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.08953, allocations: 30.56 kB / 369.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.08953, allocations: 0 / 369.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002471/0.08978, allocations: 89.5 kB / 369.4 MB, free: 2.555 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.08983, allocations: 77.11 kB / 369.5 MB, free: 2.461 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.129e-05/0.0899, allocations: 109.8 kB / 369.6 MB, free: 2.344 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.08993, allocations: 29.7 kB / 369.6 MB, free: 2.309 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.961e-05/0.08997, allocations: 84.12 kB / 369.7 MB, free: 2.223 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.09, allocations: 23.66 kB / 369.7 MB, free: 2.199 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.09003, allocations: 13.72 kB / 369.7 MB, free: 2.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.994e-05/0.09012, allocations: 318.8 kB / 370.1 MB, free: 1.859 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.525e-05/0.09019, allocations: 16 kB / 370.1 MB, free: 1.844 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.18e-05/0.09025, allocations: 47.39 kB / 370.1 MB, free: 1.785 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.09037, allocations: 59.3 kB / 370.2 MB, free: 1.715 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.09039, allocations: 7.938 kB / 370.2 MB, free: 1.707 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000163/0.09055, allocations: 82.02 kB / 370.3 MB, free: 1.621 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.09058, allocations: 4 kB / 370.3 MB, free: 1.617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.09059, allocations: 0 / 370.3 MB, free: 1.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.0906, allocations: 11.92 kB / 370.3 MB, free: 1.605 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.118e-05/0.09067, allocations: 15.98 kB / 370.3 MB, free: 1.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.09068, allocations: 0 / 370.3 MB, free: 1.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.19e-05/0.09073, allocations: 8 kB / 370.3 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.09074, allocations: 4 kB / 370.3 MB, free: 1.578 MB / 302.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.716e-05/0.09082, allocations: 125.7 kB / 370.4 MB, free: 1.445 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.09084, allocations: 7.906 kB / 370.4 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.09112, allocations: 125 kB / 370.6 MB, free: 1.312 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.09114, allocations: 4 kB / 370.6 MB, free: 1.309 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.09115, allocations: 4 kB / 370.6 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.09116, allocations: 0 / 370.6 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.09127, allocations: 177.5 kB / 370.7 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.09128, allocations: 0 / 370.7 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.193e-05/0.09136, allocations: 15.98 kB / 370.8 MB, free: 1.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.09137, allocations: 0 / 370.8 MB, free: 1.066 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.09138, allocations: 0 / 370.8 MB, free: 1.066 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.09138, allocations: 0 / 370.8 MB, free: 1.066 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.09139, allocations: 4 kB / 370.8 MB, free: 1.062 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.09164, allocations: 141.8 kB / 370.9 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.0917, allocations: 97.02 kB / 371 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.09172, allocations: 8 kB / 371 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.664e-05/0.09176, allocations: 0 / 371 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.0918, allocations: 7.984 kB / 371 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.09181, allocations: 0 / 371 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.527e-05/0.09186, allocations: 95.8 kB / 371.1 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09187, allocations: 4.062 kB / 371.1 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003468/0.09222, allocations: 131.9 kB / 371.2 MB, free: 0.5469 MB / 302.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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.1299/0.2222, allocations: 0.8608 MB / 372.1 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.2224, allocations: 47.12 kB / 372.1 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2224, allocations: 1.688 kB / 372.1 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.026e-05/0.2225, allocations: 31.59 kB / 372.2 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.2227, allocations: 14.16 kB / 372.2 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.2239, allocations: 1.555 MB / 373.7 MB, free: 18.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.432e-05/0.224, allocations: 0.6865 MB / 374.4 MB, free: 17.39 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.332e-05/0.2241, allocations: 35.89 kB / 374.5 MB, free: 17.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.779e-05/0.2242, allocations: 30.45 kB / 374.5 MB, free: 17.38 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2242, allocations: 0 / 374.5 MB, free: 17.38 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01389/0.2381, allocations: 4.125 MB / 378.6 MB, free: 16.88 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/0.2383, allocations: 281.1 kB / 378.9 MB, free: 16.52 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.024, allocations: 1.031 kB / 378.9 MB, free: 16.52 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat does not exist to compare? outputFormat=mat