Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.001277/0.001277, allocations: 200 kB / 18.01 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 39.94 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2331, allocations: 49.45 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002245/0.2354, allocations: 1.36 MB / 401.6 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00524/0.2406, allocations: 3.972 MB / 405.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.706e-05/0.2407, allocations: 0 / 405.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/0.2407, allocations: 11.98 kB / 405.6 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.2419, allocations: 274.9 kB / 405.8 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.2432, allocations: 498.2 kB / 406.3 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.2433, allocations: 55.72 kB / 406.4 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.237e-05/0.2434, allocations: 8 kB / 406.4 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.2435, allocations: 39.84 kB / 406.4 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007592/0.2443, allocations: 363.2 kB / 406.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.2443, allocations: 0 / 406.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.2453, allocations: 0.5927 MB / 407.4 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.2454, allocations: 7.984 kB / 407.4 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.2454, allocations: 19.88 kB / 407.4 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007064/0.2461, allocations: 458 kB / 407.9 MB, free: 1.148 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2461, allocations: 0 / 407.9 MB, free: 1.148 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2461, allocations: 0 / 407.9 MB, free: 1.148 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.2462, allocations: 0 / 407.9 MB, free: 1.148 MB / 318.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.0005985/0.2468, allocations: 446.5 kB / 408.3 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.2468, allocations: 11.97 kB / 408.3 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.824e-05/0.2469, allocations: 38.73 kB / 408.3 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.2469, allocations: 8.891 kB / 408.4 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.2471, allocations: 188.3 kB / 408.5 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.2472, allocations: 8.125 kB / 408.5 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.2472, allocations: 7.891 kB / 408.6 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.2474, allocations: 63.39 kB / 408.6 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.2474, allocations: 0 / 408.6 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.2474, allocations: 4 kB / 408.6 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2474, allocations: 0 / 408.6 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.151e-05/0.2475, allocations: 19.92 kB / 408.6 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002398/0.2477, allocations: 170.6 kB / 408.8 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.2481, allocations: 89.06 kB / 408.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.628e-05/0.2482, allocations: 21.78 kB / 408.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001197/0.2494, allocations: 1.54 MB / 410.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.2494, allocations: 34.56 kB / 410.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.2494, allocations: 0 / 410.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000285/0.2497, allocations: 85.59 kB / 410.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.2498, allocations: 77.11 kB / 410.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.862e-05/0.2499, allocations: 113.8 kB / 410.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.2499, allocations: 25.7 kB / 410.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.25, allocations: 88.14 kB / 410.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.25, allocations: 27.73 kB / 410.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.2501, allocations: 21.72 kB / 410.9 MB, free: 13.49 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.2502, allocations: 322.8 kB / 411.2 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.304e-05/0.2503, allocations: 19.92 kB / 411.2 MB, free: 13.15 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.073e-05/0.2504, allocations: 39.42 kB / 411.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.2505, allocations: 59.73 kB / 411.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.2505, allocations: 3.938 kB / 411.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002815/0.2508, allocations: 81.59 kB / 411.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.2508, allocations: 4 kB / 411.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2509, allocations: 4 kB / 411.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.2509, allocations: 0 / 411.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.251, allocations: 19.98 kB / 411.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.251, allocations: 0 / 411.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.075e-05/0.2511, allocations: 12.02 kB / 411.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.2511, allocations: 11.92 kB / 411.5 MB, free: 12.89 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 0.0001171/0.2513, allocations: 117.8 kB / 411.6 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.2513, allocations: 0 / 411.6 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004593/0.2518, allocations: 120.7 kB / 411.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.2518, allocations: 0 / 411.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2518, allocations: 7.938 kB / 411.7 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2518, allocations: 0 / 411.7 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.252, allocations: 181.5 kB / 411.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.252, allocations: 0 / 411.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.2522, allocations: 19.98 kB / 411.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.2522, allocations: 3.938 kB / 411.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.2522, allocations: 0 / 411.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2522, allocations: 4 kB / 411.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2522, allocations: 0 / 411.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00042/0.2527, allocations: 153.8 kB / 412.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.92e-05/0.2528, allocations: 81.09 kB / 412.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.2528, allocations: 8 kB / 412.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.953e-05/0.2529, allocations: 0 / 412.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.2529, allocations: 7.984 kB / 412.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.2529, allocations: 4 kB / 412.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.43e-05/0.253, allocations: 87.34 kB / 412.3 MB, free: 12 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.253, allocations: 7.938 kB / 412.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006677/0.2537, allocations: 131.5 kB / 412.4 MB, free: 11.86 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.001531/0.2552, allocations: 0.8668 MB / 413.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002569/0.2555, allocations: 52.75 kB / 413.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2555, allocations: 0 / 413.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.2557, allocations: 31.92 kB / 413.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.256, allocations: 9.312 kB / 413.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.2583, allocations: 1.51 MB / 414.9 MB, free: 9.266 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.2587, allocations: 0.6923 MB / 415.6 MB, free: 8.547 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.933e-05/0.2588, allocations: 23.84 kB / 415.6 MB, free: 8.527 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.574e-05/0.2589, allocations: 27.42 kB / 415.6 MB, free: 8.5 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2589, allocations: 0 / 415.6 MB, free: 8.5 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03352/0.2925, allocations: 4.385 MB / 420 MB, free: 4.277 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.806/8.099, allocations: 8.312 kB / 420 MB, free: 4.273 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches