Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002105/0.002105, allocations: 181.7 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_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_0_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.001455/0.001455, allocations: 51.92 kB / 370.4 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2429, allocations: 52.19 MB / 422.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002617/0.2456, allocations: 1.366 MB / 424 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005587/0.2511, allocations: 4.035 MB / 428 MB, free: 9.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.582e-05/0.2512, allocations: 0 / 428 MB, free: 9.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.938e-05/0.2512, allocations: 3.938 kB / 428 MB, free: 9.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.2523, allocations: 302.9 kB / 428.3 MB, free: 8.832 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.2535, allocations: 0.5019 MB / 428.8 MB, free: 8.332 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.415e-05/0.2536, allocations: 55.72 kB / 428.9 MB, free: 8.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.954e-05/0.2536, allocations: 11.72 kB / 428.9 MB, free: 8.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.2537, allocations: 39.91 kB / 428.9 MB, free: 8.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007245/0.2544, allocations: 375.2 kB / 429.3 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.2544, allocations: 0 / 429.3 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.2555, allocations: 0.6395 MB / 429.9 MB, free: 7.223 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.2555, allocations: 3.984 kB / 429.9 MB, free: 7.219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.854e-05/0.2556, allocations: 27.86 kB / 430 MB, free: 7.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006952/0.2563, allocations: 451.5 kB / 430.4 MB, free: 6.754 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.2563, allocations: 0 / 430.4 MB, free: 6.754 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2563, allocations: 0 / 430.4 MB, free: 6.754 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.2563, allocations: 0 / 430.4 MB, free: 6.754 MB / 334.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.0005345/0.2568, allocations: 373.3 kB / 430.8 MB, free: 6.359 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.2569, allocations: 11.97 kB / 430.8 MB, free: 6.348 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.165e-05/0.2569, allocations: 34.69 kB / 430.8 MB, free: 6.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.2569, allocations: 8.891 kB / 430.8 MB, free: 6.297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.2571, allocations: 138.5 kB / 431 MB, free: 6.137 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.2572, allocations: 8.109 kB / 431 MB, free: 6.129 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.2572, allocations: 7.953 kB / 431 MB, free: 6.121 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.2573, allocations: 63.39 kB / 431 MB, free: 6.047 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2573, allocations: 0 / 431 MB, free: 6.047 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.2573, allocations: 4 kB / 431 MB, free: 6.043 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.2574, allocations: 0 / 431 MB, free: 6.043 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.072e-05/0.2574, allocations: 19.92 kB / 431.1 MB, free: 6.023 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.2576, allocations: 145.7 kB / 431.2 MB, free: 5.836 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.2579, allocations: 81.06 kB / 431.3 MB, free: 5.738 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.326e-05/0.258, allocations: 21.78 kB / 431.3 MB, free: 5.711 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003626/0.2583, allocations: 131.9 kB / 431.4 MB, free: 5.582 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.2583, allocations: 38.5 kB / 431.5 MB, free: 5.535 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.2583, allocations: 0 / 431.5 MB, free: 5.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002802/0.2586, allocations: 81.59 kB / 431.6 MB, free: 5.449 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.2587, allocations: 77.11 kB / 431.6 MB, free: 5.355 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.62e-05/0.2588, allocations: 109.8 kB / 431.7 MB, free: 5.238 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.2588, allocations: 29.7 kB / 431.8 MB, free: 5.203 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.2588, allocations: 88.14 kB / 431.9 MB, free: 5.113 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.2589, allocations: 27.73 kB / 431.9 MB, free: 5.086 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.2589, allocations: 21.72 kB / 431.9 MB, free: 5.059 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.2591, allocations: 314.8 kB / 432.2 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.001e-05/0.2591, allocations: 15.98 kB / 432.2 MB, free: 4.727 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.22e-05/0.2592, allocations: 47.36 kB / 432.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.2593, allocations: 55.36 kB / 432.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2593, allocations: 3.938 kB / 432.3 MB, free: 4.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000209/0.2595, allocations: 82.06 kB / 432.4 MB, free: 4.512 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2596, allocations: 4 kB / 432.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2596, allocations: 8.062 kB / 432.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2596, allocations: 0 / 432.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.685e-05/0.2596, allocations: 15.98 kB / 432.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.2597, allocations: 480 / 432.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.582e-05/0.2597, allocations: 11.95 kB / 432.4 MB, free: 4.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.2597, allocations: 7.938 kB / 432.5 MB, free: 4.465 MB / 334.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 8.081e-05/0.2598, allocations: 121.7 kB / 432.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.2598, allocations: 4 kB / 432.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000356/0.2602, allocations: 124.6 kB / 432.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2602, allocations: 0 / 432.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.2602, allocations: 4 kB / 432.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2602, allocations: 0 / 432.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.2603, allocations: 152.6 kB / 432.9 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.2603, allocations: 0 / 432.9 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.522e-05/0.2604, allocations: 11.98 kB / 432.9 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2604, allocations: 8 kB / 432.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.2604, allocations: 4 kB / 432.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.2604, allocations: 3.938 kB / 432.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2604, allocations: 0 / 432.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.2607, allocations: 153.8 kB / 433 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.718e-05/0.2608, allocations: 8.016 kB / 433 MB, free: 3.805 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.2608, allocations: 4.062 kB / 433 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.087e-05/0.2608, allocations: 7.984 kB / 433 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.2609, allocations: 4 kB / 433.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.2609, allocations: 11.92 kB / 433.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.838e-05/0.2609, allocations: 87.28 kB / 433.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2609, allocations: 0 / 433.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000411/0.2613, allocations: 131.5 kB / 433.3 MB, free: 3.562 MB / 334.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.001115/0.2625, allocations: 0.8644 MB / 434.1 MB, free: 2.672 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.2627, allocations: 47.91 kB / 434.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2627, allocations: 0 / 434.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.275e-05/0.2627, allocations: 32.03 kB / 434.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.2629, allocations: 12 kB / 434.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.2647, allocations: 1.518 MB / 435.8 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.2651, allocations: 0.6885 MB / 436.4 MB, free: 252 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.477e-05/0.2651, allocations: 27.34 kB / 436.5 MB, free: 228 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.025e-05/0.2652, allocations: 27.42 kB / 436.5 MB, free: 200 kB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2652, allocations: 0 / 436.5 MB, free: 200 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0332/0.2984, allocations: 4.524 MB / 441 MB, free: 11.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.85, allocations: 6.5 kB / 441 MB, free: 11.82 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/InverseIncompressible_sh_T/InverseIncompressible_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.188081393018365]