Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 101.5 kB / 17.72 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 192 kB / 18.66 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 55.92 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08432/0.08556, allocations: 46.62 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002805/0.0884, allocations: 1.349 MB / 376 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3307/0.4191, allocations: 150.4 MB / 0.514 GB, free: 7.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.077e-05/0.4193, allocations: 0 / 0.514 GB, free: 7.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.028e-05/0.4193, allocations: 3.938 kB / 0.514 GB, free: 7.816 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000966/0.4203, allocations: 250.8 kB / 0.5143 GB, free: 7.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.4222, allocations: 0.6211 MB / 0.5149 GB, free: 6.949 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.4224, allocations: 55.7 kB / 0.5149 GB, free: 6.895 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.693e-05/0.4224, allocations: 12 kB / 0.5149 GB, free: 6.883 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.276e-05/0.4225, allocations: 19.92 kB / 0.5149 GB, free: 6.863 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.157e-05/0.4226, allocations: 31.84 kB / 0.515 GB, free: 6.832 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.4226, allocations: 4 kB / 0.515 GB, free: 6.828 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.4242, allocations: 0.885 MB / 0.5158 GB, free: 5.941 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.4243, allocations: 11.92 kB / 0.5159 GB, free: 5.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.241e-05/0.4243, allocations: 27.88 kB / 0.5159 GB, free: 5.902 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.4256, allocations: 0.5848 MB / 0.5165 GB, free: 5.316 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4256, allocations: 0 / 0.5165 GB, free: 5.316 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.4256, allocations: 4 kB / 0.5165 GB, free: 5.312 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.4256, allocations: 4 kB / 0.5165 GB, free: 5.309 MB / 446.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.000715/0.4263, allocations: 455.8 kB / 0.5169 GB, free: 4.816 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.4264, allocations: 8.969 kB / 0.5169 GB, free: 4.809 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.583e-05/0.4264, allocations: 30.75 kB / 0.5169 GB, free: 4.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.4275, allocations: 96.7 kB / 0.517 GB, free: 4.676 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.4278, allocations: 224.2 kB / 0.5172 GB, free: 4.418 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.4279, allocations: 7.938 kB / 0.5172 GB, free: 4.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.4279, allocations: 3.984 kB / 0.5172 GB, free: 4.406 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.4281, allocations: 91.33 kB / 0.5173 GB, free: 4.305 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.4281, allocations: 0 / 0.5173 GB, free: 4.305 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.4281, allocations: 0 / 0.5173 GB, free: 4.305 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.4282, allocations: 0 / 0.5173 GB, free: 4.305 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.4283, allocations: 57.11 kB / 0.5174 GB, free: 4.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002406/0.4286, allocations: 214.8 kB / 0.5176 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004588/0.4291, allocations: 121.1 kB / 0.5177 GB, free: 3.852 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.4292, allocations: 45.75 kB / 0.5178 GB, free: 3.801 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006014/0.4298, allocations: 0.9823 MB / 0.5187 GB, free: 2.598 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.4298, allocations: 34.55 kB / 0.5187 GB, free: 2.555 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 2.976e-06/0.4298, allocations: 0 / 0.5187 GB, free: 2.555 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004906/0.4303, allocations: 137.5 kB / 0.5189 GB, free: 2.414 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.4304, allocations: 77.11 kB / 0.519 GB, free: 2.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.4306, allocations: 157.8 kB / 0.5191 GB, free: 2.156 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.4306, allocations: 25.7 kB / 0.5191 GB, free: 2.125 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.4307, allocations: 80.14 kB / 0.5192 GB, free: 2.043 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.4307, allocations: 27.64 kB / 0.5192 GB, free: 2.016 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.976e-05/0.4308, allocations: 37.62 kB / 0.5193 GB, free: 1.973 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.4309, allocations: 310.8 kB / 0.5196 GB, free: 1.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.431, allocations: 31.97 kB / 0.5196 GB, free: 1.629 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.4311, allocations: 55.41 kB / 0.5196 GB, free: 1.562 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.4313, allocations: 83.28 kB / 0.5197 GB, free: 1.469 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.4314, allocations: 0 / 0.5197 GB, free: 1.469 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003522/0.4317, allocations: 129.8 kB / 0.5198 GB, free: 1.336 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.4318, allocations: 8 kB / 0.5199 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.4318, allocations: 96 / 0.5199 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.4318, allocations: 3.984 kB / 0.5199 GB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.4319, allocations: 27.97 kB / 0.5199 GB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4319, allocations: 0 / 0.5199 GB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.4321, allocations: 4 kB / 0.5199 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.4321, allocations: 7.984 kB / 0.5199 GB, free: 1.285 MB / 446.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 8.559e-05/0.4322, allocations: 121.8 kB / 0.52 GB, free: 1.156 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.855e-05/0.4323, allocations: 7.906 kB / 0.52 GB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006056/0.4329, allocations: 241 kB / 0.5203 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.4329, allocations: 0 / 0.5203 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4329, allocations: 4 kB / 0.5203 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.4329, allocations: 0 / 0.5203 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.4331, allocations: 225.7 kB / 0.5205 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4332, allocations: 0 / 0.5205 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.4333, allocations: 23.97 kB / 0.5205 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.4333, allocations: 0 / 0.5205 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.4334, allocations: 0 / 0.5205 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.4334, allocations: 0 / 0.5205 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4334, allocations: 4 kB / 0.5205 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/0.4338, allocations: 181.7 kB / 0.5207 GB, free: 424 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8e-05/0.4339, allocations: 101 kB / 0.5208 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.4339, allocations: 0 / 0.5208 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.4341, allocations: 4 kB / 0.5208 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.4342, allocations: 11.98 kB / 0.5208 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.4342, allocations: 4 kB / 0.5208 GB, free: 284 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000153/0.4343, allocations: 131.3 kB / 0.5209 GB, free: 152 kB / 446.1 MB Notification: Performance of sort global known variables: time 2.254e-06/0.4344, allocations: 0 / 0.5209 GB, free: 152 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005512/0.4349, allocations: 171.9 kB / 0.5211 GB, free: 15.98 MB / 462.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 (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.001424/0.4363, allocations: 1.003 MB / 0.5221 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002956/0.4367, allocations: 75.88 kB / 0.5221 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4367, allocations: 4.125 kB / 0.5221 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.4368, allocations: 33.05 kB / 0.5222 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.437, allocations: 15.98 kB / 0.5222 GB, free: 14.83 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.4397, allocations: 1.809 MB / 0.5239 GB, free: 12.92 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.44, allocations: 0.6963 MB / 0.5246 GB, free: 12.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005192/0.4405, allocations: 435.2 kB / 0.525 GB, free: 11.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.4407, allocations: 47.38 kB / 0.5251 GB, free: 11.72 MB / 462.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4407, allocations: 0 / 0.5251 GB, free: 11.72 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02667/0.4674, allocations: 7.678 MB / 0.5326 GB, free: 3.996 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.326/8.794, allocations: 12.06 kB / 0.5326 GB, free: 3.984 MB / 462.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches