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.001814/0.001814, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.002208/0.002208, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.405/1.405, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.001793/0.001793, allocations: 63.91 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09076/0.09255, allocations: 53.33 MB / 426.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002317/0.09487, allocations: 1.371 MB / 428 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1676/0.2624, allocations: 4.054 MB / 432.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.691e-05/0.2625, allocations: 1.125 kB / 432.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.055e-05/0.2625, allocations: 7.391 kB / 432.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000995/0.2635, allocations: 275.1 kB / 432.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.2646, allocations: 0.4893 MB / 432.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.043e-05/0.2647, allocations: 62.91 kB / 432.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.446e-05/0.2647, allocations: 5.453 kB / 432.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.945e-05/0.2648, allocations: 38.95 kB / 433 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005844/0.2654, allocations: 357.8 kB / 433.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.2654, allocations: 3 kB / 433.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007785/0.2662, allocations: 0.6234 MB / 433.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.2662, allocations: 4.531 kB / 433.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.989e-05/0.2662, allocations: 29.84 kB / 434 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005931/0.2668, allocations: 455.1 kB / 434.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2668, allocations: 0.9688 kB / 434.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2668, allocations: 0 / 434.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.748e-06/0.2668, allocations: 0 / 434.4 MB, free: 7.461 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.0004061/0.2672, allocations: 450.5 kB / 434.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.2673, allocations: 10.58 kB / 434.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.851e-05/0.2673, allocations: 38.88 kB / 434.9 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.86e-05/0.2673, allocations: 7.078 kB / 434.9 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.2675, allocations: 187.5 kB / 435.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.2675, allocations: 4.844 kB / 435.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.2675, allocations: 6.156 kB / 435.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.2676, allocations: 65.12 kB / 435.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2676, allocations: 1.938 kB / 435.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-06/0.2676, allocations: 4 kB / 435.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2677, allocations: 1.062 kB / 435.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.233e-05/0.2677, allocations: 18.55 kB / 435.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.2679, allocations: 170.6 kB / 435.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.2681, allocations: 76.77 kB / 435.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.803e-05/0.2681, allocations: 31.36 kB / 435.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005541/0.2687, allocations: 1.537 MB / 437 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.2687, allocations: 36.12 kB / 437 MB, free: 4.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.2687, allocations: 0 / 437 MB, free: 4.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000254/0.269, allocations: 81.81 kB / 437.1 MB, free: 4.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.269, allocations: 86 kB / 437.2 MB, free: 4.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.116e-05/0.2691, allocations: 111 kB / 437.3 MB, free: 4.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.253e-06/0.2691, allocations: 28.77 kB / 437.3 MB, free: 4.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.618e-05/0.2691, allocations: 85.83 kB / 437.4 MB, free: 4.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.2691, allocations: 23.11 kB / 437.4 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.2691, allocations: 24 kB / 437.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.776e-05/0.2692, allocations: 318.6 kB / 437.8 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.541e-05/0.2692, allocations: 13.62 kB / 437.8 MB, free: 3.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.736e-05/0.2693, allocations: 40.53 kB / 437.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.2694, allocations: 56.16 kB / 437.9 MB, free: 3.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2694, allocations: 0 / 437.9 MB, free: 3.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001723/0.2696, allocations: 97.72 kB / 438 MB, free: 3.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.2696, allocations: 6.484 kB / 438 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.2696, allocations: 5.031 kB / 438 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.2696, allocations: 1.156 kB / 438 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.49e-05/0.2697, allocations: 15.97 kB / 438 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2697, allocations: 4.609 kB / 438 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.24e-05/0.2697, allocations: 6.953 kB / 438 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.2697, allocations: 7.562 kB / 438 MB, free: 3.859 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 4.028e-05/0.2698, allocations: 113.9 kB / 438.1 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.2698, allocations: 10.27 kB / 438.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003181/0.2701, allocations: 126.9 kB / 438.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.2701, allocations: 1.125 kB / 438.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2701, allocations: 2.531 kB / 438.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2701, allocations: 1.25 kB / 438.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.545e-05/0.2702, allocations: 178.1 kB / 438.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.2702, allocations: 0 / 438.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.665e-05/0.2703, allocations: 14.34 kB / 438.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2703, allocations: 1.156 kB / 438.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-06/0.2703, allocations: 1.812 kB / 438.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.2703, allocations: 1.672 kB / 438.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2703, allocations: 0 / 438.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.2705, allocations: 150.1 kB / 438.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/0.2706, allocations: 87.66 kB / 438.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.2706, allocations: 5.156 kB / 438.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.097e-05/0.2706, allocations: 3.828 kB / 438.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.2707, allocations: 5.219 kB / 438.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.2707, allocations: 2.562 kB / 438.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.057e-05/0.2707, allocations: 91.61 kB / 438.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2707, allocations: 2.906 kB / 438.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003779/0.2711, allocations: 138.3 kB / 438.9 MB, free: 3.211 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.0008258/0.2719, allocations: 0.8713 MB / 439.8 MB, free: 2.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.2721, allocations: 51.73 kB / 439.9 MB, free: 2.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2721, allocations: 1.125 kB / 439.9 MB, free: 2.574 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.614e-05/0.2722, allocations: 25.45 kB / 439.9 MB, free: 2.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.2723, allocations: 15.52 kB / 439.9 MB, free: 2.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.2735, allocations: 1.508 MB / 441.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.244e-05/0.2736, allocations: 0.6923 MB / 442.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.346e-05/0.2737, allocations: 26.83 kB / 442.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.2737, allocations: 24.64 kB / 442.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2737, allocations: 1.344 kB / 442.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02783/0.3015, allocations: 4.454 MB / 446.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.831/8.132, allocations: 4.5 kB / 446.6 MB, free: 15.82 MB / 366.1 MB " [Timeout remaining time 652] (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_2/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_2/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: 10.429249169770628]