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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001529/0.001529, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001709/0.001709, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.89 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2472, allocations: 50.54 MB / 408.7 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002123/0.2493, allocations: 1.386 MB / 410.1 MB, free: 172 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004697/0.254, allocations: 4.023 MB / 414.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.862e-05/0.2541, allocations: 0 / 414.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/0.2542, allocations: 7.938 kB / 414.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009852/0.2552, allocations: 279 kB / 414.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.2563, allocations: 499.7 kB / 414.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.739e-05/0.2564, allocations: 55.67 kB / 415 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.493e-05/0.2564, allocations: 7.984 kB / 415 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.2566, allocations: 39.84 kB / 415 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006293/0.2572, allocations: 359.2 kB / 415.4 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.2572, allocations: 0 / 415.4 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009933/0.2582, allocations: 0.6005 MB / 416 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.2582, allocations: 3.984 kB / 416 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.904e-05/0.2583, allocations: 27.86 kB / 416 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000772/0.2591, allocations: 451.1 kB / 416.4 MB, free: 9.828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.2591, allocations: 4 kB / 416.4 MB, free: 9.824 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.2591, allocations: 0 / 416.4 MB, free: 9.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.2591, allocations: 0 / 416.4 MB, free: 9.824 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.0005222/0.2596, allocations: 443.2 kB / 416.9 MB, free: 9.344 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.2597, allocations: 8.031 kB / 416.9 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.981e-05/0.2597, allocations: 34.75 kB / 416.9 MB, free: 9.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.2598, allocations: 4.844 kB / 416.9 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.26, allocations: 188.2 kB / 417.1 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.26, allocations: 8.125 kB / 417.1 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.26, allocations: 4 kB / 417.1 MB, free: 9.055 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.2601, allocations: 63.39 kB / 417.2 MB, free: 8.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.2602, allocations: 0 / 417.2 MB, free: 8.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.2602, allocations: 4 kB / 417.2 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.2602, allocations: 3.984 kB / 417.2 MB, free: 8.973 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.121e-05/0.2603, allocations: 23.91 kB / 417.2 MB, free: 8.949 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.2605, allocations: 166.6 kB / 417.4 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.2607, allocations: 85.17 kB / 417.5 MB, free: 8.633 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.625e-05/0.2608, allocations: 29.7 kB / 417.5 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008827/0.2617, allocations: 1.54 MB / 419 MB, free: 6.707 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.2617, allocations: 38.5 kB / 419.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.2617, allocations: 4 kB / 419.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002783/0.262, allocations: 85.5 kB / 419.1 MB, free: 6.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.2621, allocations: 77.11 kB / 419.2 MB, free: 6.473 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.351e-05/0.2622, allocations: 109.8 kB / 419.3 MB, free: 6.355 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.2622, allocations: 25.7 kB / 419.4 MB, free: 6.324 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.207e-05/0.2622, allocations: 88.14 kB / 419.4 MB, free: 6.234 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.2622, allocations: 23.64 kB / 419.5 MB, free: 6.211 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.2623, allocations: 25.72 kB / 419.5 MB, free: 6.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.2624, allocations: 314.8 kB / 419.8 MB, free: 5.863 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.681e-05/0.2625, allocations: 12 kB / 419.8 MB, free: 5.852 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.591e-05/0.2625, allocations: 39.42 kB / 419.8 MB, free: 5.801 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.2627, allocations: 63.34 kB / 419.9 MB, free: 5.727 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.2627, allocations: 3.938 kB / 419.9 MB, free: 5.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002022/0.2629, allocations: 81.55 kB / 420 MB, free: 5.637 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.2629, allocations: 7.938 kB / 420 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2629, allocations: 4 kB / 420 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2629, allocations: 480 / 420 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.798e-05/0.263, allocations: 15.98 kB / 420 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.263, allocations: 0 / 420 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.835e-05/0.2631, allocations: 16.06 kB / 420 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.2631, allocations: 4 kB / 420 MB, free: 5.59 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.484e-05/0.2632, allocations: 121.7 kB / 420.2 MB, free: 5.461 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.2632, allocations: 15.83 kB / 420.2 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/0.2635, allocations: 124.8 kB / 420.3 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.2635, allocations: 4 kB / 420.3 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2636, allocations: 0 / 420.3 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2636, allocations: 0 / 420.3 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.2637, allocations: 173.6 kB / 420.5 MB, free: 5.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.2637, allocations: 0 / 420.5 MB, free: 5.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.9e-05/0.2638, allocations: 15.98 kB / 420.5 MB, free: 5.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.2638, allocations: 0 / 420.5 MB, free: 5.074 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.2638, allocations: 0 / 420.5 MB, free: 5.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.2638, allocations: 4 kB / 420.5 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2638, allocations: 0 / 420.5 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.2641, allocations: 153.8 kB / 420.6 MB, free: 4.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.2642, allocations: 85 kB / 420.7 MB, free: 4.797 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.2642, allocations: 8 kB / 420.7 MB, free: 4.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.14e-05/0.2642, allocations: 3.984 kB / 420.7 MB, free: 4.785 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.2643, allocations: 4 kB / 420.7 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.2643, allocations: 3.938 kB / 420.7 MB, free: 4.777 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.83e-05/0.2643, allocations: 95.88 kB / 420.8 MB, free: 4.684 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2643, allocations: 0 / 420.8 MB, free: 4.684 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004109/0.2648, allocations: 135.8 kB / 421 MB, free: 4.551 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.0009919/0.2658, allocations: 0.8624 MB / 421.8 MB, free: 3.664 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001906/0.266, allocations: 55.89 kB / 421.9 MB, free: 3.609 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.266, allocations: 0 / 421.9 MB, free: 3.609 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.285e-05/0.2661, allocations: 27.92 kB / 421.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.2663, allocations: 25.53 kB / 421.9 MB, free: 3.562 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.2681, allocations: 1.507 MB / 423.4 MB, free: 1.949 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.2684, allocations: 0.6885 MB / 424.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.771e-05/0.2685, allocations: 35.34 kB / 424.2 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.966e-05/0.2685, allocations: 23.52 kB / 424.2 MB, free: 1.18 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2686, allocations: 3.938 kB / 424.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.2929, allocations: 4.446 MB / 428.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.281/7.574, allocations: 11.84 kB / 428.7 MB, free: 12.88 MB / 350.1 MB (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 --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) 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.0.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) Reference file matches