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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008329/0.0008329, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008678/0.0008678, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9045/0.9045, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.33e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002008/0.002032, allocations: 1.348 MB / 325.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003936/0.005968, allocations: 3.733 MB / 329.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.006016, allocations: 0 / 329.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.083e-05/0.006046, allocations: 11.92 kB / 329.6 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.007279, allocations: 298.7 kB / 329.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009857/0.008265, allocations: 0.5244 MB / 330.4 MB, free: 9.941 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.008369, allocations: 63.64 kB / 330.5 MB, free: 9.879 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/0.008416, allocations: 4 kB / 330.5 MB, free: 9.875 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.00855, allocations: 51.83 kB / 330.5 MB, free: 9.824 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006679/0.009218, allocations: 351.4 kB / 330.9 MB, free: 9.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.009238, allocations: 7.938 kB / 330.9 MB, free: 9.473 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009449/0.01018, allocations: 0.5494 MB / 331.4 MB, free: 8.922 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.0102, allocations: 7.984 kB / 331.4 MB, free: 8.914 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.01024, allocations: 19.92 kB / 331.5 MB, free: 8.895 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007404/0.01098, allocations: 486.8 kB / 331.9 MB, free: 8.418 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.01099, allocations: 0 / 331.9 MB, free: 8.418 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.01099, allocations: 0 / 331.9 MB, free: 8.418 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.01099, allocations: 0 / 331.9 MB, free: 8.418 MB / 298.7 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.00051/0.0115, allocations: 365.3 kB / 332.3 MB, free: 8.031 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.01155, allocations: 19.92 kB / 332.3 MB, free: 8.012 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.602e-05/0.01159, allocations: 30.75 kB / 332.3 MB, free: 7.973 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.01163, allocations: 12.92 kB / 332.4 MB, free: 7.961 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.01183, allocations: 133.6 kB / 332.5 MB, free: 7.805 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.01185, allocations: 4.375 kB / 332.5 MB, free: 7.801 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.01187, allocations: 4.375 kB / 332.5 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.01201, allocations: 63.52 kB / 332.6 MB, free: 7.723 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.01202, allocations: 0 / 332.6 MB, free: 7.723 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.01203, allocations: 0 / 332.6 MB, free: 7.723 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.01204, allocations: 0 / 332.6 MB, free: 7.723 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.331e-05/0.0121, allocations: 27.91 kB / 332.6 MB, free: 7.695 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.01228, allocations: 137.7 kB / 332.7 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.01255, allocations: 85.12 kB / 332.8 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.935e-05/0.01258, allocations: 21.77 kB / 332.8 MB, free: 7.387 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002961/0.01288, allocations: 123.9 kB / 332.9 MB, free: 7.266 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.0129, allocations: 34.5 kB / 333 MB, free: 7.223 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.01291, allocations: 0 / 333 MB, free: 7.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002417/0.01315, allocations: 85.55 kB / 333.1 MB, free: 7.133 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.01319, allocations: 77.11 kB / 333.1 MB, free: 7.039 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.873e-05/0.01329, allocations: 121.8 kB / 333.3 MB, free: 6.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.01331, allocations: 25.7 kB / 333.3 MB, free: 6.879 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.01334, allocations: 88.12 kB / 333.4 MB, free: 6.789 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.184e-05/0.01339, allocations: 23.8 kB / 333.4 MB, free: 6.766 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.01342, allocations: 21.66 kB / 333.4 MB, free: 6.738 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.778e-05/0.01351, allocations: 318.8 kB / 333.7 MB, free: 6.418 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.493e-05/0.01355, allocations: 15.98 kB / 333.7 MB, free: 6.402 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.95e-05/0.0136, allocations: 43.36 kB / 333.8 MB, free: 6.348 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.758e-05/0.01369, allocations: 63.8 kB / 333.8 MB, free: 6.273 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01369, allocations: 0 / 333.8 MB, free: 6.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001259/0.01382, allocations: 93.42 kB / 333.9 MB, free: 6.176 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.01384, allocations: 4 kB / 333.9 MB, free: 6.172 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.01384, allocations: 0 / 333.9 MB, free: 6.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.01386, allocations: 4 kB / 333.9 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.75e-05/0.0139, allocations: 15.98 kB / 334 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.01391, allocations: 0 / 334 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.751e-05/0.01394, allocations: 4 kB / 334 MB, free: 6.148 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.01395, allocations: 12.05 kB / 334 MB, free: 6.137 MB / 298.7 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 6.081e-05/0.01401, allocations: 113.8 kB / 334.1 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.01402, allocations: 11.89 kB / 334.1 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.01432, allocations: 120.4 kB / 334.2 MB, free: 5.887 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.01432, allocations: 0 / 334.2 MB, free: 5.887 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.01433, allocations: 4 kB / 334.2 MB, free: 5.883 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01433, allocations: 3.938 kB / 334.2 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.829e-05/0.01443, allocations: 140.7 kB / 334.4 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.01444, allocations: 7.984 kB / 334.4 MB, free: 5.691 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.505e-05/0.01449, allocations: 8 kB / 334.4 MB, free: 5.684 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.0145, allocations: 7.938 kB / 334.4 MB, free: 5.676 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.01451, allocations: 0 / 334.4 MB, free: 5.676 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01451, allocations: 0 / 334.4 MB, free: 5.676 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01451, allocations: 0 / 334.4 MB, free: 5.676 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.01471, allocations: 145.8 kB / 334.5 MB, free: 5.512 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.01474, allocations: 23.84 kB / 334.5 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.01476, allocations: 0 / 334.5 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.101e-05/0.01478, allocations: 8.062 kB / 334.6 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.01482, allocations: 7.984 kB / 334.6 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.01482, allocations: 4 kB / 334.6 MB, free: 5.469 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.073e-05/0.01486, allocations: 91.27 kB / 334.7 MB, free: 5.379 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01486, allocations: 0 / 334.7 MB, free: 5.379 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003685/0.01523, allocations: 135.5 kB / 334.8 MB, free: 5.246 MB / 298.7 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.0007404/0.01597, allocations: 0.8739 MB / 335.7 MB, free: 4.344 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.01611, allocations: 47.91 kB / 335.7 MB, free: 4.297 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01611, allocations: 0 / 335.7 MB, free: 4.297 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.459e-05/0.01616, allocations: 32.05 kB / 335.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.01634, allocations: 11.98 kB / 335.7 MB, free: 4.254 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.01756, allocations: 1.464 MB / 337.2 MB, free: 2.684 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.699e-05/0.01762, allocations: 75.34 kB / 337.3 MB, free: 2.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.045e-05/0.01769, allocations: 31.12 kB / 337.3 MB, free: 2.562 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.724e-05/0.01776, allocations: 24.48 kB / 337.3 MB, free: 2.539 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01776, allocations: 0 / 337.3 MB, free: 2.539 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.03993, allocations: 5.148 MB / 342.5 MB, free: 13.53 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.925/6.965, allocations: 3.5 kB / 342.5 MB, free: 13.53 MB / 314.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_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.00019992 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.csv","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.779391528107226]