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.001213/0.001213, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001372/0.001372, allocations: 201.2 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.389/1.389, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001445/0.001445, allocations: 55.91 kB / 377.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2408, allocations: 53.36 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002711/0.2435, allocations: 1.359 MB / 432.4 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005456/0.249, allocations: 3.725 MB / 436.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.088e-05/0.249, allocations: 4 kB / 436.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.651e-05/0.249, allocations: 7.922 kB / 436.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.2501, allocations: 290.9 kB / 436.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.2513, allocations: 0.5175 MB / 437 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.771e-05/0.2514, allocations: 59.7 kB / 437 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.303e-05/0.2514, allocations: 4 kB / 437 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.2515, allocations: 35.84 kB / 437.1 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007376/0.2523, allocations: 371.3 kB / 437.4 MB, free: 256 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.2523, allocations: 4 kB / 437.4 MB, free: 252 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009763/0.2532, allocations: 0.5518 MB / 438 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.2533, allocations: 15.92 kB / 438 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.2533, allocations: 11.94 kB / 438 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006891/0.254, allocations: 436.7 kB / 438.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.254, allocations: 0 / 438.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.254, allocations: 0 / 438.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.254, allocations: 4 kB / 438.4 MB, free: 15.24 MB / 350.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.0005626/0.2546, allocations: 377.2 kB / 438.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.2546, allocations: 8.031 kB / 438.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.051e-05/0.2546, allocations: 34.75 kB / 438.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.2547, allocations: 0.9375 kB / 438.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.2549, allocations: 134.5 kB / 439 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.2549, allocations: 12.06 kB / 439 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.2549, allocations: 0 / 439 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.2551, allocations: 67.33 kB / 439.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.2551, allocations: 0 / 439.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.2551, allocations: 8 kB / 439.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.2551, allocations: 4 kB / 439.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.885e-05/0.2552, allocations: 15.97 kB / 439.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.2554, allocations: 141.7 kB / 439.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.2556, allocations: 81.11 kB / 439.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.994e-05/0.2557, allocations: 25.77 kB / 439.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003632/0.2561, allocations: 119.9 kB / 439.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.2561, allocations: 38.55 kB / 439.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.2561, allocations: 4 kB / 439.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002959/0.2564, allocations: 85.55 kB / 439.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.2565, allocations: 77.11 kB / 439.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.634e-05/0.2566, allocations: 113.8 kB / 439.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.2566, allocations: 25.7 kB / 439.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.2566, allocations: 84.14 kB / 439.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.2567, allocations: 27.78 kB / 439.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.2567, allocations: 21.72 kB / 439.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.2568, allocations: 310.8 kB / 440.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.129e-05/0.2569, allocations: 19.98 kB / 440.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.814e-05/0.257, allocations: 39.42 kB / 440.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.2571, allocations: 55.36 kB / 440.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.2571, allocations: 3.938 kB / 440.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000194/0.2573, allocations: 89.55 kB / 440.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2573, allocations: 8 kB / 440.4 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.2573, allocations: 4.062 kB / 440.4 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.2573, allocations: 3.938 kB / 440.4 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.196e-05/0.2574, allocations: 19.92 kB / 440.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2574, allocations: 4 kB / 440.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.199e-05/0.2575, allocations: 0 / 440.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.2575, allocations: 4 kB / 440.5 MB, free: 12.97 MB / 350.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 7.925e-05/0.2575, allocations: 117.8 kB / 440.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.2576, allocations: 7.953 kB / 440.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003596/0.2579, allocations: 129.4 kB / 440.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.2579, allocations: 8.078 kB / 440.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2579, allocations: 0 / 440.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2579, allocations: 0 / 440.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.2581, allocations: 144.7 kB / 440.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2581, allocations: 0 / 440.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.005e-05/0.2582, allocations: 19.92 kB / 440.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2582, allocations: 3.938 kB / 440.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.2582, allocations: 4 kB / 440.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2582, allocations: 8 kB / 440.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2582, allocations: 0 / 440.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.2585, allocations: 145.9 kB / 441 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-05/0.2585, allocations: 11.94 kB / 441.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.2585, allocations: 7.984 kB / 441.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.02e-05/0.2586, allocations: 3.938 kB / 441.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.2586, allocations: 7.984 kB / 441.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.2586, allocations: 4 kB / 441.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.314e-05/0.2587, allocations: 87.83 kB / 441.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2587, allocations: 0 / 441.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004164/0.2591, allocations: 143.6 kB / 441.3 MB, free: 12.05 MB / 350.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.001016/0.2601, allocations: 0.8575 MB / 442.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.2603, allocations: 43.97 kB / 442.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2603, allocations: 0 / 442.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.366e-05/0.2604, allocations: 31.92 kB / 442.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.2606, allocations: 8 kB / 442.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.2622, allocations: 1.523 MB / 443.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.513e-05/0.2623, allocations: 67.34 kB / 443.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.105e-05/0.2624, allocations: 35.55 kB / 443.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.627e-05/0.2624, allocations: 27.36 kB / 443.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2624, allocations: 0 / 443.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03242/0.2948, allocations: 4.979 MB / 448.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.78, allocations: 15.86 kB / 448.9 MB, free: 4.477 MB / 350.1 MB " [Timeout remaining time 649] (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/jenkins1/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/jenkins1/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: 13.086640483990777]