Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007879/0.0007879, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008085/0.0008085, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8472/0.8472, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_1_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_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.997e-06/1.006e-05, allocations: 2.281 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001404/0.001415, allocations: 1.351 MB / 325.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003015/0.00443, allocations: 3.741 MB / 329.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.771e-05/0.004457, allocations: 0 / 329.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.741e-05/0.004475, allocations: 7.922 kB / 329.7 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007468/0.005222, allocations: 302.6 kB / 330 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006843/0.005906, allocations: 0.5173 MB / 330.5 MB, free: 9.996 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.135e-05/0.005977, allocations: 59.59 kB / 330.5 MB, free: 9.938 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.934e-05/0.006007, allocations: 4 kB / 330.5 MB, free: 9.934 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.339e-05/0.00609, allocations: 43.89 kB / 330.6 MB, free: 9.891 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004422/0.006532, allocations: 367.3 kB / 330.9 MB, free: 9.531 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.006544, allocations: 4 kB / 330.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000556/0.0071, allocations: 0.5416 MB / 331.5 MB, free: 8.984 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.007112, allocations: 11.98 kB / 331.5 MB, free: 8.973 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.007134, allocations: 15.94 kB / 331.5 MB, free: 8.957 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004385/0.007572, allocations: 494.7 kB / 332 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.007574, allocations: 0 / 332 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.007575, allocations: 0 / 332 MB, free: 8.473 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.007579, allocations: 0 / 332 MB, free: 8.473 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.0003436/0.007922, allocations: 369.3 kB / 332.3 MB, free: 8.082 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.007956, allocations: 8.031 kB / 332.4 MB, free: 8.074 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.381e-05/0.007979, allocations: 34.75 kB / 332.4 MB, free: 8.031 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.454e-05/0.008004, allocations: 8.922 kB / 332.4 MB, free: 8.023 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.008123, allocations: 129.7 kB / 332.5 MB, free: 7.871 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.008133, allocations: 4.375 kB / 332.5 MB, free: 7.867 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.008147, allocations: 4.375 kB / 332.5 MB, free: 7.863 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.842e-05/0.008245, allocations: 71.45 kB / 332.6 MB, free: 7.781 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.008252, allocations: 0 / 332.6 MB, free: 7.781 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.008258, allocations: 0 / 332.6 MB, free: 7.781 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.008262, allocations: 0 / 332.6 MB, free: 7.781 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.738e-05/0.008309, allocations: 23.97 kB / 332.6 MB, free: 7.758 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001109/0.00842, allocations: 133.7 kB / 332.8 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.008597, allocations: 81.12 kB / 332.8 MB, free: 7.484 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.336e-05/0.008631, allocations: 33.7 kB / 332.9 MB, free: 7.445 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002072/0.008838, allocations: 123.9 kB / 333 MB, free: 7.324 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.008854, allocations: 38.5 kB / 333 MB, free: 7.277 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.008854, allocations: 0 / 333 MB, free: 7.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001703/0.009025, allocations: 85.55 kB / 333.1 MB, free: 7.188 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.009056, allocations: 85.05 kB / 333.2 MB, free: 7.086 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.553e-05/0.009111, allocations: 105.8 kB / 333.3 MB, free: 6.973 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.009121, allocations: 29.7 kB / 333.3 MB, free: 6.938 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.15e-05/0.009153, allocations: 92.12 kB / 333.4 MB, free: 6.844 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.00918, allocations: 23.8 kB / 333.4 MB, free: 6.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.009206, allocations: 17.72 kB / 333.5 MB, free: 6.797 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.841e-05/0.009275, allocations: 318.8 kB / 333.8 MB, free: 6.477 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.938e-05/0.009304, allocations: 15.98 kB / 333.8 MB, free: 6.461 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.614e-05/0.00934, allocations: 35.42 kB / 333.8 MB, free: 6.414 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.946e-05/0.00941, allocations: 59.73 kB / 333.9 MB, free: 6.344 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.009412, allocations: 0 / 333.9 MB, free: 6.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.884e-05/0.00951, allocations: 97.48 kB / 334 MB, free: 6.242 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.009521, allocations: 4 kB / 334 MB, free: 6.238 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.009525, allocations: 3.938 kB / 334 MB, free: 6.234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.009535, allocations: 4 kB / 334 MB, free: 6.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.555e-05/0.009571, allocations: 19.92 kB / 334 MB, free: 6.211 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.009575, allocations: 0 / 334 MB, free: 6.211 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.133e-05/0.009596, allocations: 4 kB / 334 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.009605, allocations: 7.984 kB / 334 MB, free: 6.199 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 4.768e-05/0.009653, allocations: 113.9 kB / 334.1 MB, free: 6.078 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-06/0.009663, allocations: 11.89 kB / 334.1 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/0.009845, allocations: 121.3 kB / 334.3 MB, free: 5.949 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.009849, allocations: 4 kB / 334.3 MB, free: 5.945 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.009853, allocations: 0 / 334.3 MB, free: 5.945 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.009856, allocations: 0 / 334.3 MB, free: 5.945 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.415e-05/0.00993, allocations: 140.7 kB / 334.4 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.009932, allocations: 0 / 334.4 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.861e-05/0.00997, allocations: 15.94 kB / 334.4 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.009972, allocations: 7.938 kB / 334.4 MB, free: 5.742 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.009979, allocations: 4 kB / 334.4 MB, free: 5.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.00998, allocations: 0 / 334.4 MB, free: 5.738 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.009983, allocations: 7.984 kB / 334.4 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.01014, allocations: 137.9 kB / 334.6 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.01016, allocations: 19.84 kB / 334.6 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.01017, allocations: 4 kB / 334.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.818e-05/0.01019, allocations: 7.938 kB / 334.6 MB, free: 5.543 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.01022, allocations: 11.92 kB / 334.6 MB, free: 5.531 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.01022, allocations: 4.062 kB / 334.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.974e-05/0.01025, allocations: 91.27 kB / 334.7 MB, free: 5.438 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01025, allocations: 0 / 334.7 MB, free: 5.438 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002298/0.01048, allocations: 131.5 kB / 334.8 MB, free: 5.309 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.0005436/0.01102, allocations: 0.8668 MB / 335.7 MB, free: 4.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.01113, allocations: 47.91 kB / 335.7 MB, free: 4.363 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01113, allocations: 0 / 335.7 MB, free: 4.363 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.446e-05/0.01118, allocations: 31.91 kB / 335.8 MB, free: 4.332 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.01131, allocations: 16.98 kB / 335.8 MB, free: 4.316 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009433/0.01225, allocations: 1.467 MB / 337.3 MB, free: 2.742 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.672e-05/0.01229, allocations: 67.34 kB / 337.3 MB, free: 2.656 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.241e-05/0.01234, allocations: 39.44 kB / 337.4 MB, free: 2.621 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.01238, allocations: 32.52 kB / 337.4 MB, free: 2.59 MB / 298.7 MB Notification: Performance of SimCode: time 3.6e-07/0.01238, allocations: 0 / 337.4 MB, free: 2.59 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01576/0.02813, allocations: 5.137 MB / 342.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.352/6.38, allocations: 7.922 kB / 342.5 MB, free: 13.6 MB / 314.7 MB " [Timeout remaining time 654] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/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_4.1.0_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: 7.951874230057001]