Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_3_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.001262/0.001262, allocations: 113.4 kB / 17.72 MB, free: 5.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.001137/0.001138, allocations: 184.1 kB / 18.65 MB, free: 4.52 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.292/1.292, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001615/0.001615, allocations: 59.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07917/0.08079, allocations: 46.62 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002262/0.08309, allocations: 1.361 MB / 376 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1529/0.236, allocations: 7.141 MB / 383.1 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.112e-05/0.2361, allocations: 0.5938 kB / 383.1 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.393e-05/0.2362, allocations: 6.531 kB / 383.1 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008505/0.237, allocations: 272.3 kB / 383.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.2383, allocations: 0.6925 MB / 384.1 MB, free: 8.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.573e-05/0.2384, allocations: 59.25 kB / 384.2 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.109e-05/0.2385, allocations: 2.016 kB / 384.2 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.057e-05/0.2386, allocations: 38.27 kB / 384.2 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006156/0.2392, allocations: 357.5 kB / 384.5 MB, free: 8.445 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.2392, allocations: 0.6562 kB / 384.5 MB, free: 8.445 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.2403, allocations: 0.7988 MB / 385.3 MB, free: 8.352 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.2403, allocations: 20.56 kB / 385.4 MB, free: 8.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.2404, allocations: 17.7 kB / 385.4 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007862/0.2412, allocations: 0.5558 MB / 385.9 MB, free: 8.246 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2412, allocations: 0 / 385.9 MB, free: 8.246 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2412, allocations: 0 / 385.9 MB, free: 8.246 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.2412, allocations: 0 / 385.9 MB, free: 8.246 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.0004254/0.2416, allocations: 472.4 kB / 386.4 MB, free: 7.812 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.2417, allocations: 9.781 kB / 386.4 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.739e-05/0.2417, allocations: 36.67 kB / 386.4 MB, free: 7.773 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.2417, allocations: 11.3 kB / 386.5 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.2419, allocations: 191 kB / 386.6 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.2419, allocations: 4.906 kB / 386.6 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.2419, allocations: 1.969 kB / 386.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.2421, allocations: 63.61 kB / 386.7 MB, free: 7.508 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.2421, allocations: 1.25 kB / 386.7 MB, free: 7.508 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.2421, allocations: 0 / 386.7 MB, free: 7.508 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2421, allocations: 1.375 kB / 386.7 MB, free: 7.508 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.63e-05/0.2422, allocations: 28.03 kB / 386.7 MB, free: 7.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.2423, allocations: 173.1 kB / 386.9 MB, free: 7.301 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.2426, allocations: 79.58 kB / 387 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.94e-05/0.2426, allocations: 29.22 kB / 387 MB, free: 7.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005897/0.2432, allocations: 1.54 MB / 388.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.2433, allocations: 36.86 kB / 388.6 MB, free: 5.402 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.2433, allocations: 1.344 kB / 388.6 MB, free: 5.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002706/0.2436, allocations: 87.64 kB / 388.7 MB, free: 5.363 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.2436, allocations: 78.33 kB / 388.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.5e-05/0.2437, allocations: 118.3 kB / 388.9 MB, free: 5.168 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.253e-06/0.2437, allocations: 25.7 kB / 388.9 MB, free: 5.137 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.814e-05/0.2437, allocations: 85.8 kB / 389 MB, free: 5.055 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.2437, allocations: 28.19 kB / 389 MB, free: 5.035 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.2438, allocations: 21.3 kB / 389 MB, free: 5.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.232e-05/0.2438, allocations: 315.1 kB / 389.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.757e-05/0.2439, allocations: 18.97 kB / 389.4 MB, free: 4.703 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.96e-05/0.244, allocations: 40.44 kB / 389.4 MB, free: 4.668 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.2441, allocations: 56.19 kB / 389.5 MB, free: 4.633 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2441, allocations: 0 / 389.5 MB, free: 4.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001787/0.2443, allocations: 97.3 kB / 389.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2443, allocations: 6.172 kB / 389.6 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2443, allocations: 1.125 kB / 389.6 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.2443, allocations: 2.125 kB / 389.6 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.468e-05/0.2444, allocations: 15.72 kB / 389.6 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.2444, allocations: 3.344 kB / 389.6 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.139e-05/0.2445, allocations: 4.125 kB / 389.6 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.2445, allocations: 6.891 kB / 389.6 MB, free: 4.582 MB / 318.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 4.466e-05/0.2445, allocations: 112 kB / 389.7 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.2445, allocations: 15.27 kB / 389.7 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/0.2449, allocations: 120.7 kB / 389.8 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.2449, allocations: 2.125 kB / 389.8 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2449, allocations: 1.125 kB / 389.8 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2449, allocations: 0.9844 kB / 389.8 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.079e-05/0.245, allocations: 174.1 kB / 390 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.245, allocations: 4 kB / 390 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.33e-05/0.2451, allocations: 16.91 kB / 390 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/0.2451, allocations: 1.906 kB / 390 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.2451, allocations: 4.984 kB / 390 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2452, allocations: 0 / 390 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2452, allocations: 1.156 kB / 390 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.2454, allocations: 138.9 kB / 390.2 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.2455, allocations: 101.3 kB / 390.3 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.2455, allocations: 1.781 kB / 390.3 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.783e-05/0.2455, allocations: 6.703 kB / 390.3 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.2456, allocations: 8.422 kB / 390.3 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.2456, allocations: 3.938 kB / 390.3 MB, free: 4.02 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.305e-05/0.2456, allocations: 92.75 kB / 390.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2456, allocations: 0 / 390.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005081/0.2461, allocations: 175.5 kB / 390.5 MB, free: 3.906 MB / 318.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.001039/0.2472, allocations: 0.9486 MB / 391.5 MB, free: 3.223 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001864/0.2474, allocations: 51.03 kB / 391.5 MB, free: 3.215 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2474, allocations: 0 / 391.5 MB, free: 3.215 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.943e-05/0.2475, allocations: 33.34 kB / 391.6 MB, free: 3.211 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.2477, allocations: 8.141 kB / 391.6 MB, free: 3.211 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.2489, allocations: 1.521 MB / 393.1 MB, free: 1.922 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.039e-05/0.249, allocations: 0.6931 MB / 393.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.78e-05/0.2491, allocations: 29.59 kB / 393.8 MB, free: 1.211 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/0.2491, allocations: 29.86 kB / 393.9 MB, free: 1.199 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2491, allocations: 0 / 393.9 MB, free: 1.199 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02747/0.2766, allocations: 5.159 MB / 399 MB, free: 92 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.671/7.947, allocations: 5.219 kB / 399 MB, free: 88 kB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/InverseIncompressible_sh_T/InverseIncompressible_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches