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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 111.9 kB / 17.06 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 198.9 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 47.94 kB / 350.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2392, allocations: 49.44 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.00238/0.2417, allocations: 1.356 MB / 401.6 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004858/0.2465, allocations: 3.977 MB / 405.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.313e-05/0.2466, allocations: 4 kB / 405.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.175e-05/0.2467, allocations: 3.984 kB / 405.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009665/0.2477, allocations: 275 kB / 405.8 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.2488, allocations: 0.4942 MB / 406.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.157e-05/0.2489, allocations: 59.7 kB / 406.4 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.874e-05/0.249, allocations: 8 kB / 406.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.2491, allocations: 35.84 kB / 406.4 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006167/0.2497, allocations: 363.2 kB / 406.8 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.2497, allocations: 0 / 406.8 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009473/0.2507, allocations: 0.5888 MB / 407.4 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.2507, allocations: 11.97 kB / 407.4 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.2507, allocations: 19.88 kB / 407.4 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007449/0.2515, allocations: 451.2 kB / 407.9 MB, free: 1.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2515, allocations: 3.938 kB / 407.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.2515, allocations: 0 / 407.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.2515, allocations: 4 kB / 407.9 MB, free: 1.168 MB / 318.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.000646/0.2522, allocations: 439.2 kB / 408.3 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.2522, allocations: 8.031 kB / 408.3 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.883e-05/0.2523, allocations: 34.75 kB / 408.3 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/0.2523, allocations: 8.844 kB / 408.3 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.2526, allocations: 188.3 kB / 408.5 MB, free: 420 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.2527, allocations: 12.06 kB / 408.5 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.2527, allocations: 0 / 408.5 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.2529, allocations: 67.33 kB / 408.6 MB, free: 328 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.2529, allocations: 0 / 408.6 MB, free: 328 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.2529, allocations: 7.938 kB / 408.6 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.2529, allocations: 0 / 408.6 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.876e-05/0.253, allocations: 19.97 kB / 408.6 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002208/0.2532, allocations: 166.6 kB / 408.8 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.2536, allocations: 89.16 kB / 408.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.311e-05/0.2537, allocations: 25.72 kB / 408.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001134/0.2548, allocations: 1.536 MB / 410.4 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.2549, allocations: 38.56 kB / 410.5 MB, free: 14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.2549, allocations: 0 / 410.5 MB, free: 14 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003279/0.2552, allocations: 81.59 kB / 410.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.2553, allocations: 77.11 kB / 410.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.971e-05/0.2554, allocations: 113.8 kB / 410.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.2554, allocations: 25.7 kB / 410.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.2554, allocations: 88.14 kB / 410.9 MB, free: 13.58 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.2555, allocations: 27.62 kB / 410.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.2555, allocations: 25.72 kB / 410.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.574e-05/0.2556, allocations: 314.8 kB / 411.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.935e-05/0.2557, allocations: 15.94 kB / 411.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.882e-05/0.2558, allocations: 39.42 kB / 411.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.2559, allocations: 63.72 kB / 411.3 MB, free: 13.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.2559, allocations: 3.938 kB / 411.3 MB, free: 13.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000192/0.2561, allocations: 85.5 kB / 411.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.2562, allocations: 4 kB / 411.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.2562, allocations: 4 kB / 411.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2562, allocations: 0 / 411.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.2563, allocations: 19.98 kB / 411.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.2563, allocations: 8 kB / 411.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.479e-05/0.2563, allocations: 4 kB / 411.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.2563, allocations: 4 kB / 411.5 MB, free: 12.93 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 7.275e-05/0.2564, allocations: 117.7 kB / 411.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.2565, allocations: 11.89 kB / 411.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.2568, allocations: 119.2 kB / 411.7 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.2568, allocations: 0 / 411.7 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.2568, allocations: 0 / 411.7 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2568, allocations: 3.938 kB / 411.7 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.2569, allocations: 173.6 kB / 411.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.257, allocations: 0 / 411.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.998e-05/0.257, allocations: 19.94 kB / 411.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.2571, allocations: 7.922 kB / 411.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.2571, allocations: 0 / 411.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2571, allocations: 4 kB / 411.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.2571, allocations: 0 / 411.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.2574, allocations: 149.8 kB / 412.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.2574, allocations: 85 kB / 412.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.2575, allocations: 8 kB / 412.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.005e-05/0.2575, allocations: 3.984 kB / 412.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.2575, allocations: 4 kB / 412.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.2576, allocations: 8.062 kB / 412.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.26e-05/0.2576, allocations: 91.2 kB / 412.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2576, allocations: 0 / 412.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000411/0.258, allocations: 131.9 kB / 412.4 MB, free: 11.9 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.001013/0.259, allocations: 0.8664 MB / 413.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.2593, allocations: 47.91 kB / 413.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2593, allocations: 0 / 413.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.671e-05/0.2594, allocations: 31.92 kB / 413.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.2595, allocations: 16.78 kB / 413.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.2611, allocations: 1.511 MB / 414.8 MB, free: 9.305 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.2613, allocations: 0.6885 MB / 415.5 MB, free: 8.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.45e-05/0.2614, allocations: 35.66 kB / 415.6 MB, free: 8.559 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/0.2615, allocations: 19.42 kB / 415.6 MB, free: 8.539 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2615, allocations: 0 / 415.6 MB, free: 8.539 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.2842, allocations: 4.411 MB / 420 MB, free: 4.289 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/8.116, allocations: 4.5 kB / 420 MB, free: 4.289 MB / 334.1 MB (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 --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) 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) Reference file matches