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.001122/0.001122, allocations: 117.7 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 199.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2393, allocations: 50.53 MB / 408.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002049/0.2414, allocations: 1.382 MB / 410.1 MB, free: 172 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00449/0.2459, allocations: 4.027 MB / 414.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.078e-05/0.2459, allocations: 0 / 414.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.246, allocations: 3.984 kB / 414.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008359/0.2468, allocations: 275 kB / 414.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009435/0.2478, allocations: 0.4994 MB / 414.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.307e-05/0.2479, allocations: 55.66 kB / 415 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.129e-05/0.2479, allocations: 4 kB / 415 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.569e-05/0.248, allocations: 47.84 kB / 415 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005836/0.2486, allocations: 351.3 kB / 415.4 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.2486, allocations: 4 kB / 415.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008189/0.2495, allocations: 0.6005 MB / 416 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.2495, allocations: 7.984 kB / 416 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.2495, allocations: 19.88 kB / 416 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000586/0.2501, allocations: 459.1 kB / 416.4 MB, free: 9.816 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2501, allocations: 3.938 kB / 416.4 MB, free: 9.812 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2501, allocations: 0 / 416.4 MB, free: 9.812 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.2501, allocations: 0 / 416.4 MB, free: 9.812 MB / 334.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.0004623/0.2506, allocations: 443.2 kB / 416.9 MB, free: 9.332 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.2506, allocations: 12.03 kB / 416.9 MB, free: 9.32 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.74e-05/0.2507, allocations: 30.75 kB / 416.9 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/0.2507, allocations: 8.844 kB / 416.9 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.2509, allocations: 188.3 kB / 417.1 MB, free: 9.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.2509, allocations: 4.125 kB / 417.1 MB, free: 9.047 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.251, allocations: 4 kB / 417.1 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.2511, allocations: 55.39 kB / 417.2 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2511, allocations: 7.938 kB / 417.2 MB, free: 8.969 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.2511, allocations: 8 kB / 417.2 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2511, allocations: 0 / 417.2 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.338e-05/0.2512, allocations: 15.98 kB / 417.2 MB, free: 8.945 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.2514, allocations: 170.6 kB / 417.4 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.2516, allocations: 89 kB / 417.5 MB, free: 8.621 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.889e-05/0.2517, allocations: 25.77 kB / 417.5 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008671/0.2526, allocations: 1.536 MB / 419 MB, free: 6.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.2526, allocations: 38.56 kB / 419.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.073e-06/0.2526, allocations: 0 / 419.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000257/0.2529, allocations: 85.5 kB / 419.1 MB, free: 6.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.2529, allocations: 81.11 kB / 419.2 MB, free: 6.469 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.197e-05/0.253, allocations: 113.8 kB / 419.3 MB, free: 6.348 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.253, allocations: 25.7 kB / 419.4 MB, free: 6.316 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.197e-05/0.2531, allocations: 84.14 kB / 419.4 MB, free: 6.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.2531, allocations: 27.59 kB / 419.5 MB, free: 6.203 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.2532, allocations: 21.7 kB / 419.5 MB, free: 6.176 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.217e-05/0.2533, allocations: 314.8 kB / 419.8 MB, free: 5.859 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.396e-05/0.2533, allocations: 19.98 kB / 419.8 MB, free: 5.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.277e-05/0.2534, allocations: 35.73 kB / 419.9 MB, free: 5.793 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.2535, allocations: 59.72 kB / 419.9 MB, free: 5.723 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.2535, allocations: 7.938 kB / 419.9 MB, free: 5.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001727/0.2537, allocations: 81.59 kB / 420 MB, free: 5.629 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.2537, allocations: 11.94 kB / 420 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2537, allocations: 160 / 420 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.2538, allocations: 0 / 420 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.35e-05/0.2538, allocations: 20 kB / 420 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.2538, allocations: 11.91 kB / 420 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.018e-05/0.2539, allocations: 4 kB / 420 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.2539, allocations: 4 kB / 420 MB, free: 5.578 MB / 334.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 7.217e-05/0.254, allocations: 129.7 kB / 420.2 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.254, allocations: 7.906 kB / 420.2 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/0.2543, allocations: 113 kB / 420.3 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.2543, allocations: 4 kB / 420.3 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2543, allocations: 0 / 420.3 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2544, allocations: 3.984 kB / 420.3 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.2545, allocations: 177.6 kB / 420.5 MB, free: 5.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2545, allocations: 0 / 420.5 MB, free: 5.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.392e-05/0.2546, allocations: 15.92 kB / 420.5 MB, free: 5.066 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2546, allocations: 4 kB / 420.5 MB, free: 5.062 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.2546, allocations: 0 / 420.5 MB, free: 5.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2546, allocations: 0 / 420.5 MB, free: 5.062 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2546, allocations: 0 / 420.5 MB, free: 5.062 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.2549, allocations: 149.8 kB / 420.6 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.335e-05/0.2549, allocations: 89.03 kB / 420.7 MB, free: 4.789 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.255, allocations: 7.938 kB / 420.7 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.849e-05/0.255, allocations: 4 kB / 420.7 MB, free: 4.777 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.255, allocations: 7.922 kB / 420.7 MB, free: 4.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.255, allocations: 4 kB / 420.8 MB, free: 4.766 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.153e-05/0.2551, allocations: 91.27 kB / 420.8 MB, free: 4.676 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2551, allocations: 0 / 420.8 MB, free: 4.676 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003641/0.2555, allocations: 135.9 kB / 421 MB, free: 4.543 MB / 334.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.000918/0.2564, allocations: 0.8644 MB / 421.8 MB, free: 3.656 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001796/0.2566, allocations: 51.91 kB / 421.9 MB, free: 3.605 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2566, allocations: 0 / 421.9 MB, free: 3.605 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.337e-05/0.2567, allocations: 31.92 kB / 421.9 MB, free: 3.574 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.2569, allocations: 19.5 kB / 421.9 MB, free: 3.559 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.2583, allocations: 1.507 MB / 423.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.2585, allocations: 0.6962 MB / 424.1 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.202e-05/0.2586, allocations: 23.47 kB / 424.2 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.2587, allocations: 23.42 kB / 424.2 MB, free: 1.18 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2587, allocations: 7.938 kB / 424.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05271/0.3114, allocations: 4.439 MB / 428.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.6/7.911, allocations: 14.88 kB / 428.6 MB, free: 12.87 MB / 350.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) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/InverseIncompressible_sh_T/InverseIncompressible_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches