Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007623/0.0007623, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007538/0.0007538, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8516/0.8516, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.491e-05, allocations: 4.672 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001755/0.00178, allocations: 1.366 MB / 325.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.2917/0.2935, allocations: 130.9 MB / 456.9 MB, free: 5.559 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.301e-05/0.2935, allocations: 1.812 kB / 456.9 MB, free: 5.559 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.06e-05/0.2936, allocations: 6.328 kB / 456.9 MB, free: 5.559 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.2951, allocations: 389.8 kB / 457.3 MB, free: 5.555 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.2964, allocations: 0.5294 MB / 457.8 MB, free: 5.535 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.2965, allocations: 76.5 kB / 457.9 MB, free: 5.535 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.035e-05/0.2965, allocations: 2.75 kB / 457.9 MB, free: 5.535 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.34e-05/0.2966, allocations: 47.61 kB / 457.9 MB, free: 5.535 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.543e-05/0.2967, allocations: 29.16 kB / 457.9 MB, free: 5.535 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.2968, allocations: 2.781 kB / 457.9 MB, free: 5.535 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.2986, allocations: 0.9544 MB / 458.9 MB, free: 5.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.944e-05/0.2986, allocations: 18.56 kB / 458.9 MB, free: 5.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.044e-05/0.2986, allocations: 17.69 kB / 458.9 MB, free: 5.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.2999, allocations: 0.7575 MB / 459.7 MB, free: 5.488 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2999, allocations: 0 / 459.7 MB, free: 5.488 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2999, allocations: 0 / 459.7 MB, free: 5.488 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.2999, allocations: 0.9375 kB / 459.7 MB, free: 5.488 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.0006266/0.3005, allocations: 384.8 kB / 460.1 MB, free: 5.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3005, allocations: 8.719 kB / 460.1 MB, free: 5.16 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.016e-05/0.3006, allocations: 36.92 kB / 460.1 MB, free: 5.121 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004226/0.301, allocations: 69.78 kB / 460.2 MB, free: 5.117 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.3011, allocations: 136.1 kB / 460.3 MB, free: 4.988 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.3011, allocations: 6.5 kB / 460.3 MB, free: 4.988 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.3012, allocations: 1.812 kB / 460.3 MB, free: 4.988 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.3013, allocations: 79.8 kB / 460.4 MB, free: 4.934 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3013, allocations: 0 / 460.4 MB, free: 4.934 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3013, allocations: 3 kB / 460.4 MB, free: 4.934 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.3013, allocations: 0.875 kB / 460.4 MB, free: 4.934 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.395e-05/0.3014, allocations: 44.27 kB / 460.4 MB, free: 4.934 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.3016, allocations: 163.8 kB / 460.6 MB, free: 4.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.3019, allocations: 110.6 kB / 460.7 MB, free: 4.723 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.608e-05/0.302, allocations: 40.67 kB / 460.8 MB, free: 4.707 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003958/0.3024, allocations: 59.98 kB / 460.8 MB, free: 4.703 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.3024, allocations: 40.33 kB / 460.9 MB, free: 4.664 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.3024, allocations: 2.625 kB / 460.9 MB, free: 4.664 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003048/0.3027, allocations: 118.2 kB / 461 MB, free: 4.629 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.3027, allocations: 78.05 kB / 461 MB, free: 4.535 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.448e-05/0.3028, allocations: 141.2 kB / 461.2 MB, free: 4.438 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.352e-06/0.3028, allocations: 30.23 kB / 461.2 MB, free: 4.406 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.004e-05/0.3028, allocations: 90.64 kB / 461.3 MB, free: 4.324 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.3028, allocations: 17.59 kB / 461.3 MB, free: 4.312 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.3029, allocations: 24.38 kB / 461.3 MB, free: 4.297 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.789e-05/0.3029, allocations: 319.5 kB / 461.7 MB, free: 3.984 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.77e-05/0.3029, allocations: 22.66 kB / 461.7 MB, free: 3.984 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.021e-05/0.303, allocations: 51.11 kB / 461.7 MB, free: 3.953 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.429e-05/0.3031, allocations: 87.92 kB / 461.8 MB, free: 3.918 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3031, allocations: 0.9688 kB / 461.8 MB, free: 3.918 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001307/0.3032, allocations: 112.5 kB / 461.9 MB, free: 3.879 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.3032, allocations: 7.125 kB / 461.9 MB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3032, allocations: 4.406 kB / 461.9 MB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3032, allocations: 1.062 kB / 461.9 MB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.824e-05/0.3033, allocations: 16.69 kB / 462 MB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3033, allocations: 1.031 kB / 462 MB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.602e-05/0.3033, allocations: 12.91 kB / 462 MB, free: 3.871 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.3033, allocations: 2.906 kB / 462 MB, free: 3.871 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.974e-05/0.3033, allocations: 118.2 kB / 462.1 MB, free: 3.758 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.3034, allocations: 6.969 kB / 462.1 MB, free: 3.754 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.3035, allocations: 115.9 kB / 462.2 MB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3035, allocations: 4.328 kB / 462.2 MB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3035, allocations: 1 kB / 462.2 MB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3035, allocations: 2.906 kB / 462.2 MB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.636e-05/0.3036, allocations: 156.6 kB / 462.4 MB, free: 3.559 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3036, allocations: 4.719 kB / 462.4 MB, free: 3.555 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.306e-05/0.3036, allocations: 17.77 kB / 462.4 MB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.3036, allocations: 0.8125 kB / 462.4 MB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.3036, allocations: 2.969 kB / 462.4 MB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3036, allocations: 0.8438 kB / 462.4 MB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3036, allocations: 6.188 kB / 462.4 MB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.3038, allocations: 155.2 kB / 462.5 MB, free: 3.477 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/0.3038, allocations: 17.38 kB / 462.6 MB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.3038, allocations: 0 / 462.6 MB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.869e-05/0.3039, allocations: 5.75 kB / 462.6 MB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.3039, allocations: 7.047 kB / 462.6 MB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.3039, allocations: 6.219 kB / 462.6 MB, free: 3.473 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.62e-05/0.3039, allocations: 110.9 kB / 462.7 MB, free: 3.398 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3039, allocations: 0 / 462.7 MB, free: 3.398 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004472/0.3044, allocations: 171.5 kB / 462.9 MB, free: 3.363 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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0008812/0.3053, allocations: 1.021 MB / 463.9 MB, free: 2.723 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001279/0.3054, allocations: 73.36 kB / 464 MB, free: 2.719 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.3054, allocations: 0.9062 kB / 464 MB, free: 2.719 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.645e-05/0.3054, allocations: 27.97 kB / 464 MB, free: 2.719 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.3056, allocations: 30.36 kB / 464 MB, free: 2.719 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.3067, allocations: 1.691 MB / 465.7 MB, free: 1.465 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.592e-05/0.3067, allocations: 74.86 kB / 465.8 MB, free: 1.395 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.973e-05/0.3067, allocations: 15.77 kB / 465.8 MB, free: 1.387 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.16e-05/0.3068, allocations: 23.44 kB / 465.8 MB, free: 1.379 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/0.3068, allocations: 0 / 465.8 MB, free: 1.379 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.3285, allocations: 7.105 MB / 472.9 MB, free: 15.92 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.424/6.752, allocations: 7.453 kB / 472.9 MB, free: 15.91 MB / 426.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.407044907100499]