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.001217/0.001216, allocations: 121.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001215/0.001215, allocations: 207.8 kB / 18.74 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 67.88 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2296, allocations: 50.55 MB / 408.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002315/0.232, allocations: 1.381 MB / 410.2 MB, free: 92 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005436/0.2374, allocations: 4.031 MB / 414.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.2375, allocations: 0 / 414.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.948e-05/0.2376, allocations: 7.938 kB / 414.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009777/0.2385, allocations: 271 kB / 414.5 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.2397, allocations: 0.49 MB / 415 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.2398, allocations: 63.59 kB / 415 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.504e-05/0.2399, allocations: 4 kB / 415.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.24, allocations: 39.84 kB / 415.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006785/0.2407, allocations: 351.3 kB / 415.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.2407, allocations: 4 kB / 415.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.2417, allocations: 0.6044 MB / 416 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.2417, allocations: 0 / 416 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.889e-05/0.2418, allocations: 27.84 kB / 416.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007481/0.2425, allocations: 450 kB / 416.5 MB, free: 9.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2425, allocations: 0 / 416.5 MB, free: 9.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2426, allocations: 0 / 416.5 MB, free: 9.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.2426, allocations: 0 / 416.5 MB, free: 9.75 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.0005444/0.2431, allocations: 462.3 kB / 417 MB, free: 9.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.2432, allocations: 8.031 kB / 417 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.396e-05/0.2432, allocations: 30.75 kB / 417 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.2432, allocations: 4.938 kB / 417 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.2435, allocations: 200.2 kB / 417.2 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.2435, allocations: 4.125 kB / 417.2 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.2435, allocations: 4 kB / 417.2 MB, free: 8.957 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.2437, allocations: 63.39 kB / 417.3 MB, free: 8.883 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2437, allocations: 0 / 417.3 MB, free: 8.883 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.2437, allocations: 7.984 kB / 417.3 MB, free: 8.875 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2437, allocations: 0 / 417.3 MB, free: 8.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.106e-05/0.2438, allocations: 19.92 kB / 417.3 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002015/0.244, allocations: 170.6 kB / 417.5 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.2443, allocations: 81.12 kB / 417.5 MB, free: 8.539 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.652e-05/0.2444, allocations: 29.7 kB / 417.6 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/0.2455, allocations: 1.536 MB / 419.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.2456, allocations: 42.48 kB / 419.1 MB, free: 6.566 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.2456, allocations: 4 kB / 419.2 MB, free: 6.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002991/0.2459, allocations: 85.55 kB / 419.2 MB, free: 6.473 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.2459, allocations: 77.11 kB / 419.3 MB, free: 6.379 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.246, allocations: 109.8 kB / 419.4 MB, free: 6.262 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.2461, allocations: 25.7 kB / 419.4 MB, free: 6.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.2461, allocations: 84.14 kB / 419.5 MB, free: 6.145 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.2462, allocations: 27.78 kB / 419.6 MB, free: 6.117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.2462, allocations: 17.72 kB / 419.6 MB, free: 6.094 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.2464, allocations: 318.8 kB / 419.9 MB, free: 5.773 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.303e-05/0.2464, allocations: 15.98 kB / 419.9 MB, free: 5.758 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.385e-05/0.2465, allocations: 39.41 kB / 419.9 MB, free: 5.707 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.2466, allocations: 63.36 kB / 420 MB, free: 5.633 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.2467, allocations: 3.938 kB / 420 MB, free: 5.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001974/0.2469, allocations: 89.48 kB / 420.1 MB, free: 5.535 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.2469, allocations: 7.938 kB / 420.1 MB, free: 5.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2469, allocations: 0 / 420.1 MB, free: 5.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.2469, allocations: 4.469 kB / 420.1 MB, free: 5.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.172e-05/0.247, allocations: 19.98 kB / 420.1 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.247, allocations: 0 / 420.1 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.2471, allocations: 8.062 kB / 420.1 MB, free: 5.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.2471, allocations: 4 kB / 420.1 MB, free: 5.492 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 9.124e-05/0.2472, allocations: 121.7 kB / 420.3 MB, free: 5.363 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.2472, allocations: 7.953 kB / 420.3 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000376/0.2476, allocations: 125 kB / 420.4 MB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.2476, allocations: 8 kB / 420.4 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.2476, allocations: 0 / 420.4 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2476, allocations: 0 / 420.4 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.2478, allocations: 173.6 kB / 420.6 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2478, allocations: 0 / 420.6 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.66e-05/0.2479, allocations: 8 kB / 420.6 MB, free: 4.988 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2479, allocations: 4 kB / 420.6 MB, free: 4.984 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.2479, allocations: 7.984 kB / 420.6 MB, free: 4.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.2479, allocations: 0 / 420.6 MB, free: 4.977 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2479, allocations: 4 kB / 420.6 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.2482, allocations: 141.8 kB / 420.7 MB, free: 4.812 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.22e-05/0.2483, allocations: 89.08 kB / 420.8 MB, free: 4.707 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.2483, allocations: 4 kB / 420.8 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.062e-05/0.2484, allocations: 4 kB / 420.8 MB, free: 4.699 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.2484, allocations: 7.984 kB / 420.8 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.2484, allocations: 3.938 kB / 420.8 MB, free: 4.688 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.032e-05/0.2485, allocations: 95.33 kB / 420.9 MB, free: 4.594 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2485, allocations: 0 / 420.9 MB, free: 4.594 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000431/0.2489, allocations: 135.5 kB / 421.1 MB, free: 4.461 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.00111/0.2501, allocations: 0.8668 MB / 421.9 MB, free: 3.566 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.2503, allocations: 47.91 kB / 422 MB, free: 3.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2503, allocations: 0 / 422 MB, free: 3.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.441e-05/0.2504, allocations: 35.92 kB / 422 MB, free: 3.484 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.2506, allocations: 14.22 kB / 422 MB, free: 3.473 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.2523, allocations: 1.518 MB / 423.5 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.2526, allocations: 0.6885 MB / 424.2 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.486e-05/0.2527, allocations: 31.28 kB / 424.3 MB, free: 1.109 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.2528, allocations: 23.52 kB / 424.3 MB, free: 1.086 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2528, allocations: 3.938 kB / 424.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02678/0.2796, allocations: 4.419 MB / 428.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.759/8.039, allocations: 7.094 kB / 428.7 MB, free: 12.82 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.1.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