Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_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.0008033/0.0008033, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007821/0.0007821, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.8811/0.8811, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.32e-05/1.469e-05, allocations: 2.984 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001633/0.001648, allocations: 1.356 MB / 325.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.2868/0.2885, allocations: 130.7 MB / 456.5 MB, free: 5.656 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.972e-05/0.2885, allocations: 0.8438 kB / 456.5 MB, free: 5.656 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.194e-05/0.2885, allocations: 5.859 kB / 456.5 MB, free: 5.656 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007094/0.2892, allocations: 244.2 kB / 456.8 MB, free: 5.656 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005947/0.2898, allocations: 421.4 kB / 457.2 MB, free: 5.645 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.754e-05/0.2899, allocations: 57.16 kB / 457.2 MB, free: 5.645 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.211e-05/0.2899, allocations: 2.25 kB / 457.2 MB, free: 5.645 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.001e-05/0.29, allocations: 36.08 kB / 457.3 MB, free: 5.645 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.489e-05/0.29, allocations: 26.77 kB / 457.3 MB, free: 5.645 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.2901, allocations: 3.562 kB / 457.3 MB, free: 5.645 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005552/0.2906, allocations: 0.5706 MB / 457.9 MB, free: 5.637 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.2906, allocations: 8.719 kB / 457.9 MB, free: 5.637 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.2906, allocations: 16.84 kB / 457.9 MB, free: 5.637 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004087/0.2911, allocations: 0.533 MB / 458.4 MB, free: 5.609 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2911, allocations: 0 / 458.4 MB, free: 5.609 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2911, allocations: 0 / 458.4 MB, free: 5.609 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.2911, allocations: 1.062 kB / 458.4 MB, free: 5.609 MB / 410.7 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.0003179/0.2914, allocations: 352.8 kB / 458.8 MB, free: 5.305 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.2914, allocations: 18.61 kB / 458.8 MB, free: 5.301 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.922e-05/0.2914, allocations: 30.75 kB / 458.8 MB, free: 5.262 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006356/0.2921, allocations: 120 kB / 458.9 MB, free: 5.258 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.2922, allocations: 166 kB / 459.1 MB, free: 5.125 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.2922, allocations: 0 / 459.1 MB, free: 5.125 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.2922, allocations: 7.406 kB / 459.1 MB, free: 5.121 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.2924, allocations: 92.94 kB / 459.2 MB, free: 5.074 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.2924, allocations: 6.219 kB / 459.2 MB, free: 5.074 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.2924, allocations: 4.781 kB / 459.2 MB, free: 5.074 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2924, allocations: 0 / 459.2 MB, free: 5.074 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.045e-05/0.2925, allocations: 42.55 kB / 459.2 MB, free: 5.074 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.2926, allocations: 171.8 kB / 459.4 MB, free: 4.902 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.2929, allocations: 124.9 kB / 459.5 MB, free: 4.852 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.588e-05/0.2929, allocations: 48.89 kB / 459.6 MB, free: 4.832 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.2931, allocations: 90.22 kB / 459.7 MB, free: 4.832 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.898e-06/0.2931, allocations: 35.59 kB / 459.7 MB, free: 4.793 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.2931, allocations: 1.094 kB / 459.7 MB, free: 4.793 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002675/0.2933, allocations: 136.7 kB / 459.8 MB, free: 4.758 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.79e-05/0.2934, allocations: 79.73 kB / 459.9 MB, free: 4.664 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.2935, allocations: 154.9 kB / 460.1 MB, free: 4.566 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.2935, allocations: 29.58 kB / 460.1 MB, free: 4.535 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.52e-05/0.2935, allocations: 85.19 kB / 460.2 MB, free: 4.453 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.2935, allocations: 23.72 kB / 460.2 MB, free: 4.438 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.2935, allocations: 35.61 kB / 460.2 MB, free: 4.422 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.547e-05/0.2936, allocations: 317.2 kB / 460.5 MB, free: 4.109 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.105e-05/0.2936, allocations: 24.64 kB / 460.6 MB, free: 4.109 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.575e-05/0.2937, allocations: 57.5 kB / 460.6 MB, free: 4.078 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.2938, allocations: 85.06 kB / 460.7 MB, free: 4.047 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2938, allocations: 0 / 460.7 MB, free: 4.047 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001641/0.294, allocations: 128 kB / 460.8 MB, free: 4.008 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.294, allocations: 5.938 kB / 460.8 MB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.294, allocations: 3.406 kB / 460.8 MB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.294, allocations: 0 / 460.8 MB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.025e-05/0.294, allocations: 23.73 kB / 460.9 MB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.2941, allocations: 5.281 kB / 460.9 MB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.77e-05/0.2941, allocations: 6.906 kB / 460.9 MB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.2941, allocations: 7.703 kB / 460.9 MB, free: 4.008 MB / 410.7 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 3.622e-05/0.2942, allocations: 118 kB / 461 MB, free: 3.895 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.2942, allocations: 14.05 kB / 461 MB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003246/0.2945, allocations: 247.8 kB / 461.3 MB, free: 3.852 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.2945, allocations: 4.156 kB / 461.3 MB, free: 3.852 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2945, allocations: 0 / 461.3 MB, free: 3.852 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2945, allocations: 3.906 kB / 461.3 MB, free: 3.852 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.181e-05/0.2946, allocations: 182.4 kB / 461.4 MB, free: 3.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2946, allocations: 0 / 461.4 MB, free: 3.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.481e-05/0.2947, allocations: 30.12 kB / 461.5 MB, free: 3.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.2947, allocations: 3.938 kB / 461.5 MB, free: 3.676 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.2947, allocations: 7.219 kB / 461.5 MB, free: 3.676 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2947, allocations: 1.094 kB / 461.5 MB, free: 3.676 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2947, allocations: 0.9062 kB / 461.5 MB, free: 3.676 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.2949, allocations: 186 kB / 461.7 MB, free: 3.598 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.76e-05/0.2949, allocations: 13.67 kB / 461.7 MB, free: 3.594 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.295, allocations: 3.828 kB / 461.7 MB, free: 3.594 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.124e-05/0.295, allocations: 4.875 kB / 461.7 MB, free: 3.594 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.295, allocations: 11.23 kB / 461.7 MB, free: 3.594 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.2951, allocations: 7.219 kB / 461.7 MB, free: 3.594 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.972e-05/0.2951, allocations: 126.4 kB / 461.8 MB, free: 3.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2951, allocations: 0.875 kB / 461.8 MB, free: 3.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002644/0.2954, allocations: 135.8 kB / 462 MB, free: 3.496 MB / 410.7 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 (8): * Single equations (assignments): 7 * 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.0005696/0.296, allocations: 0.9285 MB / 462.9 MB, free: 2.863 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000147/0.2961, allocations: 82.28 kB / 463 MB, free: 2.863 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.01e-07/0.2961, allocations: 0.9062 kB / 463 MB, free: 2.863 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.906e-05/0.2962, allocations: 37.05 kB / 463 MB, free: 2.863 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.2963, allocations: 10.69 kB / 463 MB, free: 2.863 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.2976, allocations: 1.75 MB / 464.8 MB, free: 1.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.011e-05/0.2976, allocations: 71.98 kB / 464.8 MB, free: 1.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002946/0.2979, allocations: 436.1 kB / 465.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.969e-05/0.298, allocations: 47.11 kB / 465.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.298, allocations: 4.391 kB / 465.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01821/0.3162, allocations: 7.578 MB / 472.9 MB, free: 116 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.55/6.867, allocations: 3.984 kB / 472.9 MB, free: 112 kB / 410.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_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: 8.517824972048402]