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.00111/0.00111, allocations: 112.4 kB / 17.73 MB, free: 5.355 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.001093/0.001093, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.285/1.285, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.00126/0.00126, allocations: 55.92 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08434/0.08561, allocations: 46.62 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002572/0.08821, allocations: 1.361 MB / 376 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1773/0.2656, allocations: 7.135 MB / 383.1 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.646e-05/0.2657, allocations: 0 / 383.1 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.743e-05/0.2657, allocations: 6.797 kB / 383.1 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.2668, allocations: 279 kB / 383.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.2686, allocations: 0.7032 MB / 384.1 MB, free: 8.508 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.884e-05/0.2687, allocations: 54.03 kB / 384.2 MB, free: 8.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.2688, allocations: 7 kB / 384.2 MB, free: 8.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.2689, allocations: 38.34 kB / 384.2 MB, free: 8.477 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007368/0.2697, allocations: 352.5 kB / 384.6 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.2697, allocations: 5.406 kB / 384.6 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.271, allocations: 0.8021 MB / 385.4 MB, free: 8.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.2711, allocations: 12.45 kB / 385.4 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.2711, allocations: 17.31 kB / 385.4 MB, free: 8.328 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000891/0.272, allocations: 0.5576 MB / 386 MB, free: 8.242 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.272, allocations: 0 / 386 MB, free: 8.242 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.272, allocations: 0 / 386 MB, free: 8.242 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.272, allocations: 5.875 kB / 386 MB, free: 8.238 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.0004954/0.2725, allocations: 475.8 kB / 386.4 MB, free: 7.801 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.2726, allocations: 9.844 kB / 386.4 MB, free: 7.801 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.171e-05/0.2726, allocations: 36.84 kB / 386.5 MB, free: 7.758 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.2727, allocations: 7.922 kB / 386.5 MB, free: 7.754 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.2729, allocations: 189.7 kB / 386.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.2729, allocations: 3.547 kB / 386.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.2729, allocations: 2.688 kB / 386.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.2731, allocations: 64.14 kB / 386.7 MB, free: 7.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2731, allocations: 5.875 kB / 386.7 MB, free: 7.496 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.2731, allocations: 0 / 386.7 MB, free: 7.496 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2731, allocations: 1.062 kB / 386.7 MB, free: 7.496 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.894e-05/0.2732, allocations: 21.33 kB / 386.8 MB, free: 7.492 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.2734, allocations: 174 kB / 386.9 MB, free: 7.293 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.2736, allocations: 86.09 kB / 387 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.096e-05/0.2737, allocations: 25.39 kB / 387 MB, free: 7.219 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006262/0.2744, allocations: 1.54 MB / 388.6 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.2744, allocations: 39.16 kB / 388.6 MB, free: 5.391 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.2744, allocations: 0 / 388.6 MB, free: 5.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002859/0.2747, allocations: 83.8 kB / 388.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.2747, allocations: 78.84 kB / 388.8 MB, free: 5.258 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.3e-05/0.2748, allocations: 113.8 kB / 388.9 MB, free: 5.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.2748, allocations: 25.7 kB / 388.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.009e-05/0.2748, allocations: 84.11 kB / 389 MB, free: 5.047 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.2749, allocations: 24.11 kB / 389 MB, free: 5.031 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.2749, allocations: 21.84 kB / 389 MB, free: 5.016 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.923e-05/0.275, allocations: 316.8 kB / 389.3 MB, free: 4.703 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.766e-05/0.275, allocations: 18.45 kB / 389.4 MB, free: 4.699 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.367e-05/0.2751, allocations: 46.48 kB / 389.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.2752, allocations: 59.22 kB / 389.5 MB, free: 4.625 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2752, allocations: 4 kB / 389.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001787/0.2754, allocations: 87.17 kB / 389.6 MB, free: 4.578 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2754, allocations: 5.812 kB / 389.6 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2755, allocations: 1.156 kB / 389.6 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.2755, allocations: 1.094 kB / 389.6 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.849e-05/0.2756, allocations: 14.7 kB / 389.6 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.2756, allocations: 6.219 kB / 389.6 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.396e-05/0.2756, allocations: 7.25 kB / 389.6 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.2756, allocations: 7.5 kB / 389.6 MB, free: 4.574 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 5.473e-05/0.2757, allocations: 117 kB / 389.7 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.2757, allocations: 10.64 kB / 389.7 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003576/0.2761, allocations: 113.2 kB / 389.8 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.2761, allocations: 6.531 kB / 389.8 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2761, allocations: 4 kB / 389.8 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.2761, allocations: 2.453 kB / 389.8 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.368e-05/0.2762, allocations: 172.2 kB / 390 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2762, allocations: 0 / 390 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.742e-05/0.2763, allocations: 16.83 kB / 390 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.2763, allocations: 1.469 kB / 390 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.2763, allocations: 8.578 kB / 390 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2763, allocations: 3.938 kB / 390 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.2764, allocations: 2.219 kB / 390.1 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.2766, allocations: 137.9 kB / 390.2 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.2767, allocations: 98.39 kB / 390.3 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.2767, allocations: 2.844 kB / 390.3 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.127e-05/0.2767, allocations: 2.562 kB / 390.3 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.2768, allocations: 5.953 kB / 390.3 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.2768, allocations: 2.969 kB / 390.3 MB, free: 4.016 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.619e-05/0.2768, allocations: 89.88 kB / 390.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2768, allocations: 4.062 kB / 390.4 MB, free: 3.938 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005318/0.2774, allocations: 173.9 kB / 390.6 MB, free: 3.902 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.001062/0.2784, allocations: 0.9534 MB / 391.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.2787, allocations: 50.03 kB / 391.6 MB, free: 3.215 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2787, allocations: 0 / 391.6 MB, free: 3.215 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.399e-05/0.2788, allocations: 32.11 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.0001877/0.2789, allocations: 12.61 kB / 391.6 MB, free: 3.207 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.2803, allocations: 1.526 MB / 393.1 MB, free: 1.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.2804, allocations: 0.6904 MB / 393.8 MB, free: 1.211 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.087e-05/0.2805, allocations: 26.89 kB / 393.8 MB, free: 1.207 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.2806, allocations: 29.7 kB / 393.9 MB, free: 1.195 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2806, allocations: 0 / 393.9 MB, free: 1.195 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02773/0.3083, allocations: 5.157 MB / 399 MB, free: 100 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.56/7.868, allocations: 1.312 kB / 399 MB, free: 100 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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