Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00111/0.001109, allocations: 104.2 kB / 17.2 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001136/0.001136, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 227.4 MB / 246.3 MB, free: 9.039 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 64.02 kB / 306.4 MB, free: 0.707 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0937/0.09497, allocations: 50.52 MB / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.003132/0.09813, allocations: 1.451 MB / 358.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.311/0.4092, allocations: 149.7 MB / 0.4961 GB, free: 4.488 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.4092, allocations: 0 / 0.4961 GB, free: 4.488 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.557e-05/0.4094, allocations: 7.938 kB / 0.4961 GB, free: 4.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001218/0.4106, allocations: 336.7 kB / 0.4964 GB, free: 4.164 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.4117, allocations: 462.6 kB / 0.4969 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.4118, allocations: 95.56 kB / 0.497 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.702e-05/0.4119, allocations: 0 / 0.497 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.885e-05/0.412, allocations: 39.84 kB / 0.497 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.425e-05/0.412, allocations: 35.89 kB / 0.497 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.4121, allocations: 0 / 0.497 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002029/0.4141, allocations: 1.249 MB / 0.4982 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.837e-05/0.4142, allocations: 19.91 kB / 0.4983 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.998e-05/0.4142, allocations: 23.88 kB / 0.4983 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.4156, allocations: 0.7755 MB / 0.499 GB, free: 1.473 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4156, allocations: 0 / 0.499 GB, free: 1.473 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4156, allocations: 4 kB / 0.4991 GB, free: 1.469 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.4156, allocations: 0 / 0.4991 GB, free: 1.469 MB / 414.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.0006581/0.4163, allocations: 458.6 kB / 0.4995 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.4163, allocations: 12.03 kB / 0.4995 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.707e-05/0.4164, allocations: 34.75 kB / 0.4995 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000471/0.4169, allocations: 68.75 kB / 0.4996 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.417, allocations: 192.2 kB / 0.4998 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.4171, allocations: 7.938 kB / 0.4998 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.4171, allocations: 7.656 kB / 0.4998 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.4172, allocations: 75.33 kB / 0.4999 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.4173, allocations: 0 / 0.4999 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.4173, allocations: 0 / 0.4999 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.4173, allocations: 4 kB / 0.4999 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.4174, allocations: 39.97 kB / 0.4999 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.4176, allocations: 198.5 kB / 0.5001 GB, free: 248 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.4179, allocations: 117.1 kB / 0.5002 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.51e-05/0.418, allocations: 37.75 kB / 0.5002 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005333/0.4185, allocations: 137 kB / 0.5004 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.4186, allocations: 38.5 kB / 0.5004 GB, free: 15.87 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.4186, allocations: 0 / 0.5004 GB, free: 15.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003579/0.4189, allocations: 113.9 kB / 0.5005 GB, free: 15.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.419, allocations: 85.05 kB / 0.5006 GB, free: 15.65 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.4191, allocations: 145.8 kB / 0.5007 GB, free: 15.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.4191, allocations: 25.7 kB / 0.5008 GB, free: 15.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.068e-05/0.4192, allocations: 88.14 kB / 0.5009 GB, free: 15.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.4192, allocations: 19.66 kB / 0.5009 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/0.4193, allocations: 25.7 kB / 0.5009 GB, free: 15.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.4194, allocations: 314.8 kB / 0.5012 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.282e-05/0.4195, allocations: 27.97 kB / 0.5012 GB, free: 14.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.469e-05/0.4196, allocations: 51.42 kB / 0.5013 GB, free: 14.92 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.4197, allocations: 91.31 kB / 0.5014 GB, free: 14.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4197, allocations: 0 / 0.5014 GB, free: 14.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002387/0.42, allocations: 109.5 kB / 0.5015 GB, free: 14.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.42, allocations: 4 kB / 0.5015 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.42, allocations: 0 / 0.5015 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.42, allocations: 4 kB / 0.5015 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.89e-05/0.4201, allocations: 19.92 kB / 0.5015 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.4201, allocations: 0 / 0.5015 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.699e-05/0.4202, allocations: 4 kB / 0.5015 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.4202, allocations: 4 kB / 0.5015 GB, free: 14.67 MB / 430.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.842e-05/0.4203, allocations: 125.8 kB / 0.5016 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/0.4203, allocations: 7.906 kB / 0.5016 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.4206, allocations: 110.8 kB / 0.5017 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.4206, allocations: 0 / 0.5017 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4206, allocations: 4.875 kB / 0.5017 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.4206, allocations: 3.938 kB / 0.5017 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.4207, allocations: 193.5 kB / 0.5019 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4207, allocations: 0 / 0.5019 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.62e-05/0.4208, allocations: 12 kB / 0.5019 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.4208, allocations: 4 kB / 0.5019 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.4209, allocations: 9.734 kB / 0.5019 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4209, allocations: 7.938 kB / 0.502 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.4209, allocations: 0 / 0.502 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.4212, allocations: 157.8 kB / 0.5021 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.528e-05/0.4213, allocations: 89.03 kB / 0.5022 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.4213, allocations: 8.062 kB / 0.5022 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.441e-05/0.4213, allocations: 4 kB / 0.5022 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.4214, allocations: 7.984 kB / 0.5022 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.4214, allocations: 0 / 0.5022 GB, free: 13.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.113e-05/0.4215, allocations: 112.6 kB / 0.5023 GB, free: 13.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4215, allocations: 0 / 0.5023 GB, free: 13.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005444/0.422, allocations: 167.8 kB / 0.5025 GB, free: 13.56 MB / 430.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 (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.001628/0.4237, allocations: 1.024 MB / 0.5035 GB, free: 12.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.4239, allocations: 64 kB / 0.5035 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4239, allocations: 0 / 0.5035 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.259e-05/0.4239, allocations: 40.2 kB / 0.5036 GB, free: 12.42 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.4242, allocations: 27.92 kB / 0.5036 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.4261, allocations: 1.73 MB / 0.5053 GB, free: 10.56 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.4264, allocations: 0.6965 MB / 0.506 GB, free: 9.836 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.413e-05/0.4265, allocations: 19.94 kB / 0.506 GB, free: 9.816 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.4265, allocations: 23.44 kB / 0.506 GB, free: 9.793 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4265, allocations: 3.938 kB / 0.506 GB, free: 9.789 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01738/0.4439, allocations: 5.996 MB / 0.5119 GB, free: 3.934 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/0.4442, allocations: 250 kB / 0.5121 GB, free: 3.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/2.297, allocations: 3.938 kB / 0.5121 GB, free: 3.676 MB / 430.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches