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.0008112/0.0008112, 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.0008418/0.0008418, 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.8856/0.8856, allocations: 177 MB / 204.1 MB, free: 5.762 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.343e-06/1.343e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028e-05/1.162e-05, allocations: 2.281 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001436/0.001448, allocations: 1.345 MB / 325.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003635/0.005082, allocations: 3.737 MB / 329.6 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.352e-05/0.005116, allocations: 0 / 329.6 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.105e-05/0.005137, allocations: 7.922 kB / 329.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009068/0.006043, allocations: 298.7 kB / 329.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009946/0.007038, allocations: 0.5205 MB / 330.4 MB, free: 9.961 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.774e-05/0.007136, allocations: 63.64 kB / 330.5 MB, free: 9.898 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.485e-05/0.007171, allocations: 0 / 330.5 MB, free: 9.898 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.007278, allocations: 55.83 kB / 330.5 MB, free: 9.844 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005567/0.007835, allocations: 363.3 kB / 330.9 MB, free: 9.488 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.007848, allocations: 0 / 330.9 MB, free: 9.488 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007102/0.008559, allocations: 0.5455 MB / 331.4 MB, free: 8.941 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.008571, allocations: 3.984 kB / 331.4 MB, free: 8.938 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.008598, allocations: 23.92 kB / 331.5 MB, free: 8.914 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005288/0.009127, allocations: 486.8 kB / 331.9 MB, free: 8.438 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.009131, allocations: 3.984 kB / 331.9 MB, free: 8.434 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.009132, allocations: 0 / 331.9 MB, free: 8.434 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.009135, allocations: 0 / 331.9 MB, free: 8.434 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.0004222/0.009558, allocations: 365.3 kB / 332.3 MB, free: 8.047 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.009599, allocations: 19.92 kB / 332.3 MB, free: 8.027 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.101e-05/0.00963, allocations: 30.75 kB / 332.3 MB, free: 7.988 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/0.009658, allocations: 4.938 kB / 332.3 MB, free: 7.984 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.009839, allocations: 137.7 kB / 332.5 MB, free: 7.824 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.00985, allocations: 384 / 332.5 MB, free: 7.824 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.009868, allocations: 4.375 kB / 332.5 MB, free: 7.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.009987, allocations: 67.52 kB / 332.5 MB, free: 7.742 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.009996, allocations: 0 / 332.5 MB, free: 7.742 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.01, allocations: 0 / 332.5 MB, free: 7.742 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.01001, allocations: 0 / 332.5 MB, free: 7.742 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.605e-05/0.01006, allocations: 23.91 kB / 332.6 MB, free: 7.719 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.01023, allocations: 137.7 kB / 332.7 MB, free: 7.539 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.01048, allocations: 89.12 kB / 332.8 MB, free: 7.434 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.32e-05/0.01052, allocations: 17.72 kB / 332.8 MB, free: 7.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002669/0.01079, allocations: 123.9 kB / 332.9 MB, free: 7.289 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.01081, allocations: 42.5 kB / 333 MB, free: 7.238 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.01081, allocations: 0 / 333 MB, free: 7.238 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002041/0.01102, allocations: 85.55 kB / 333.1 MB, free: 7.148 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.01106, allocations: 77.11 kB / 333.1 MB, free: 7.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.761e-05/0.01112, allocations: 117.8 kB / 333.2 MB, free: 6.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.01113, allocations: 29.7 kB / 333.3 MB, free: 6.895 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.01144, allocations: 88.14 kB / 333.4 MB, free: 6.805 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.01148, allocations: 27.77 kB / 333.4 MB, free: 6.777 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.01151, allocations: 21.72 kB / 333.4 MB, free: 6.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.013e-05/0.01159, allocations: 314.8 kB / 333.7 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.407e-05/0.01162, allocations: 16 kB / 333.7 MB, free: 6.418 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.335e-05/0.01166, allocations: 47.34 kB / 333.8 MB, free: 6.359 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.724e-05/0.01174, allocations: 63.72 kB / 333.8 MB, free: 6.285 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01174, allocations: 0 / 333.8 MB, free: 6.285 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001062/0.01185, allocations: 85.5 kB / 333.9 MB, free: 6.195 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.01186, allocations: 8 kB / 333.9 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.01187, allocations: 0 / 333.9 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.01188, allocations: 0 / 333.9 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.918e-05/0.01192, allocations: 15.98 kB / 333.9 MB, free: 6.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.01192, allocations: 4 kB / 334 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.301e-05/0.01195, allocations: 4 kB / 334 MB, free: 6.164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.01195, allocations: 8.062 kB / 334 MB, free: 6.156 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 5.764e-05/0.01201, allocations: 121.8 kB / 334.1 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.01202, allocations: 11.89 kB / 334.1 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.01226, allocations: 120.9 kB / 334.2 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.01226, allocations: 0 / 334.2 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.01227, allocations: 0 / 334.2 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.01227, allocations: 0 / 334.2 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.782e-05/0.01237, allocations: 140.8 kB / 334.3 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.01237, allocations: 0 / 334.3 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-05/0.01242, allocations: 15.98 kB / 334.4 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.01242, allocations: 3.938 kB / 334.4 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.01244, allocations: 4 kB / 334.4 MB, free: 5.695 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.01244, allocations: 0 / 334.4 MB, free: 5.695 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01244, allocations: 0 / 334.4 MB, free: 5.695 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.01264, allocations: 149.8 kB / 334.5 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.01267, allocations: 23.84 kB / 334.5 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.01268, allocations: 3.938 kB / 334.5 MB, free: 5.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.79e-05/0.0127, allocations: 4 kB / 334.5 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.01274, allocations: 12.05 kB / 334.6 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.01275, allocations: 11.94 kB / 334.6 MB, free: 5.473 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.566e-05/0.01279, allocations: 91.27 kB / 334.7 MB, free: 5.383 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01279, allocations: 0 / 334.7 MB, free: 5.383 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000319/0.01311, allocations: 131.5 kB / 334.8 MB, free: 5.254 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.0006925/0.0138, allocations: 0.8629 MB / 335.7 MB, free: 4.359 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.01394, allocations: 47.91 kB / 335.7 MB, free: 4.312 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.01394, allocations: 4 kB / 335.7 MB, free: 4.309 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.367e-05/0.01399, allocations: 32.05 kB / 335.7 MB, free: 4.277 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.01415, allocations: 11.98 kB / 335.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.0153, allocations: 1.462 MB / 337.2 MB, free: 2.695 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.079e-05/0.01535, allocations: 75.33 kB / 337.3 MB, free: 2.602 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.678e-05/0.01542, allocations: 35.2 kB / 337.3 MB, free: 2.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.83e-05/0.01548, allocations: 24.48 kB / 337.3 MB, free: 2.547 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01548, allocations: 0 / 337.3 MB, free: 2.547 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.03867, allocations: 5.137 MB / 342.5 MB, free: 13.55 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.692/6.731, allocations: 7.578 kB / 342.5 MB, free: 13.55 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.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_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.38718870934099]