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.001315/0.001315, allocations: 116.7 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001503/0.001503, allocations: 214.3 kB / 23.75 MB, free: 4.672 MB / 14.72 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 1.419/1.419, allocations: 230.5 MB / 257.4 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001861/0.001861, allocations: 67.91 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2625, allocations: 53.4 MB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002679/0.2652, allocations: 1.383 MB / 432.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005905/0.2711, allocations: 4.102 MB / 436.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.803e-05/0.2712, allocations: 0 / 436.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.863e-05/0.2712, allocations: 7.938 kB / 436.7 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.2724, allocations: 294.9 kB / 437 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.2737, allocations: 0.5022 MB / 437.5 MB, free: 388 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.2739, allocations: 59.66 kB / 437.5 MB, free: 328 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.17e-05/0.2739, allocations: 11.72 kB / 437.5 MB, free: 320 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.274, allocations: 39.91 kB / 437.6 MB, free: 280 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000777/0.2748, allocations: 375.2 kB / 437.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.2748, allocations: 0 / 437.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.276, allocations: 0.6473 MB / 438.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.276, allocations: 4 kB / 438.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.268e-05/0.2761, allocations: 23.86 kB / 438.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008733/0.2769, allocations: 451.5 kB / 439 MB, free: 14.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2769, allocations: 0 / 439 MB, free: 14.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2769, allocations: 0 / 439 MB, free: 14.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.277, allocations: 4 kB / 439 MB, free: 14.79 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.0005806/0.2775, allocations: 381.2 kB / 439.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.2776, allocations: 8.031 kB / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.374e-05/0.2776, allocations: 34.75 kB / 439.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.2776, allocations: 8.891 kB / 439.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.2779, allocations: 130.5 kB / 439.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.2779, allocations: 12.11 kB / 439.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.2779, allocations: 0 / 439.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.278, allocations: 71.33 kB / 439.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.2781, allocations: 0 / 439.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.2781, allocations: 3.938 kB / 439.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2781, allocations: 4 kB / 439.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.7e-05/0.2781, allocations: 11.98 kB / 439.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.2783, allocations: 145.7 kB / 439.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.2786, allocations: 89.06 kB / 439.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.947e-05/0.2787, allocations: 25.77 kB / 440 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003819/0.2791, allocations: 111.9 kB / 440.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.2791, allocations: 34.56 kB / 440.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.2791, allocations: 4 kB / 440.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003001/0.2794, allocations: 85.55 kB / 440.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.2795, allocations: 81.11 kB / 440.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.2796, allocations: 105.8 kB / 440.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.2796, allocations: 29.7 kB / 440.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.2797, allocations: 88.12 kB / 440.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.2797, allocations: 23.8 kB / 440.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.2797, allocations: 21.7 kB / 440.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2799, allocations: 314.8 kB / 440.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.139e-05/0.2799, allocations: 19.92 kB / 440.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.099e-05/0.28, allocations: 39.42 kB / 440.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.2802, allocations: 59.36 kB / 441 MB, free: 12.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2802, allocations: 7.875 kB / 441 MB, free: 12.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001981/0.2804, allocations: 86.02 kB / 441 MB, free: 12.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.2804, allocations: 10.34 kB / 441.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2804, allocations: 3.984 kB / 441.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2804, allocations: 0 / 441.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.831e-05/0.2805, allocations: 16 kB / 441.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.2805, allocations: 7.938 kB / 441.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.2805, allocations: 8.047 kB / 441.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.2805, allocations: 4 kB / 441.1 MB, free: 12.5 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 0.0001013/0.2806, allocations: 117.8 kB / 441.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.837e-05/0.2807, allocations: 3.953 kB / 441.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/0.281, allocations: 124.9 kB / 441.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.281, allocations: 8 kB / 441.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.281, allocations: 0 / 441.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.281, allocations: 0 / 441.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.2812, allocations: 148.7 kB / 441.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2812, allocations: 0 / 441.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.348e-05/0.2813, allocations: 23.92 kB / 441.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.2813, allocations: 0 / 441.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.2813, allocations: 4 kB / 441.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.181e-05/0.2813, allocations: 7.938 kB / 441.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2813, allocations: 0 / 441.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.2816, allocations: 145.8 kB / 441.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/0.2816, allocations: 11.97 kB / 441.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.2816, allocations: 4 kB / 441.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.046e-05/0.2817, allocations: 4 kB / 441.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.2817, allocations: 3.984 kB / 441.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.495e-06/0.2817, allocations: 4 kB / 441.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.935e-05/0.2818, allocations: 99.81 kB / 441.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2818, allocations: 0 / 441.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004478/0.2822, allocations: 135.5 kB / 441.9 MB, free: 11.6 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.001114/0.2834, allocations: 0.8549 MB / 442.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.2836, allocations: 51.91 kB / 442.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2836, allocations: 0 / 442.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.213e-05/0.2836, allocations: 27.92 kB / 442.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.2838, allocations: 15.38 kB / 442.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.2856, allocations: 1.532 MB / 444.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.286, allocations: 0.6885 MB / 445.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.207e-05/0.2861, allocations: 23.34 kB / 445.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.989e-05/0.2861, allocations: 27.42 kB / 445.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2861, allocations: 0 / 445.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03379/0.3199, allocations: 4.522 MB / 449.7 MB, free: 3.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.96, allocations: 7.438 kB / 449.7 MB, free: 3.816 MB / 350.1 MB " [Timeout remaining time 649] (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/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_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: 13.300879190908745]