Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_trunk_cpp_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_cpp_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/Complex trunk/package.mo): time 0.001173/0.001173, allocations: 195.5 kB / 17.38 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.187/1.187, allocations: 226.5 MB / 244.7 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007242/0.0007245, allocations: 95.72 kB / 296.7 MB, free: 6.719 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001976/0.0001976, allocations: 8 kB / 356.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1709, allocations: 51.29 MB / 408.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001062/0.172, allocations: 1.084 MB / 409.2 MB, free: 26.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.2712/0.4433, allocations: 135.1 MB / 0.5316 GB, free: 13.42 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.076e-05/0.4434, allocations: 0.5 kB / 0.5316 GB, free: 13.42 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.292e-05/0.4434, allocations: 6.469 kB / 0.5316 GB, free: 13.41 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006829/0.4441, allocations: 200.1 kB / 0.5318 GB, free: 13.37 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007787/0.4449, allocations: 320.8 kB / 0.5321 GB, free: 13.31 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.253e-05/0.445, allocations: 50.58 kB / 0.5321 GB, free: 13.3 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.213e-05/0.445, allocations: 3.344 kB / 0.5321 GB, free: 13.3 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.739e-05/0.445, allocations: 24.91 kB / 0.5321 GB, free: 13.29 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.531e-05/0.4451, allocations: 29.86 kB / 0.5322 GB, free: 13.29 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.988e-06/0.4451, allocations: 7.094 kB / 0.5322 GB, free: 13.28 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008852/0.446, allocations: 0.5853 MB / 0.5327 GB, free: 13.23 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.446, allocations: 11.17 kB / 0.5328 GB, free: 13.23 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/0.4461, allocations: 44.7 kB / 0.5328 GB, free: 13.2 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005724/0.4466, allocations: 351.1 kB / 0.5331 GB, free: 13.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4467, allocations: 0.625 kB / 0.5331 GB, free: 13.17 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.4467, allocations: 0 / 0.5331 GB, free: 13.17 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.4467, allocations: 0 / 0.5331 GB, free: 13.17 MB / 394.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.0004874/0.4472, allocations: 422.6 kB / 0.5335 GB, free: 12.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.4472, allocations: 9.719 kB / 0.5335 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.101e-05/0.4473, allocations: 34.8 kB / 0.5336 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.4484, allocations: 108 kB / 0.5337 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.4486, allocations: 227.2 kB / 0.5339 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.4487, allocations: 9.531 kB / 0.5339 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.4487, allocations: 7.25 kB / 0.5339 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.4489, allocations: 90.5 kB / 0.534 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.4489, allocations: 0 / 0.534 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.4489, allocations: 0 / 0.534 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4489, allocations: 0 / 0.534 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.4491, allocations: 50 kB / 0.5341 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002093/0.4493, allocations: 209.4 kB / 0.5343 GB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003955/0.4497, allocations: 117.5 kB / 0.5344 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.945e-05/0.4498, allocations: 43.52 kB / 0.5344 GB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005319/0.4503, allocations: 0.9975 MB / 0.5354 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.4504, allocations: 30.56 kB / 0.5354 GB, free: 11.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.123e-06/0.4504, allocations: 0 / 0.5354 GB, free: 11.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003902/0.4508, allocations: 133.4 kB / 0.5355 GB, free: 10.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.4508, allocations: 80.42 kB / 0.5356 GB, free: 10.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.451, allocations: 156.5 kB / 0.5358 GB, free: 10.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.451, allocations: 29.02 kB / 0.5358 GB, free: 10.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.738e-05/0.4511, allocations: 83.27 kB / 0.5359 GB, free: 10.67 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.4511, allocations: 21.56 kB / 0.5359 GB, free: 10.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-06/0.4511, allocations: 2.969 kB / 0.5359 GB, free: 10.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.229e-05/0.4512, allocations: 328.7 kB / 0.5362 GB, free: 10.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.903e-05/0.4513, allocations: 26.23 kB / 0.5362 GB, free: 10.33 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.463e-05/0.4514, allocations: 54.16 kB / 0.5363 GB, free: 10.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.4516, allocations: 85.08 kB / 0.5364 GB, free: 10.26 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4516, allocations: 0 / 0.5364 GB, free: 10.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002687/0.4519, allocations: 122.1 kB / 0.5365 GB, free: 10.22 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.4519, allocations: 11.19 kB / 0.5365 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.4519, allocations: 0 / 0.5365 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.4519, allocations: 0 / 0.5365 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.452, allocations: 26.8 kB / 0.5365 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.4521, allocations: 1.781 kB / 0.5365 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.4522, allocations: 4.406 kB / 0.5365 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.4523, allocations: 10.95 kB / 0.5365 GB, free: 10.21 MB / 394.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.364e-05/0.4523, allocations: 115.6 kB / 0.5366 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.4524, allocations: 15.22 kB / 0.5367 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004747/0.4528, allocations: 239.1 kB / 0.5369 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.4529, allocations: 3.234 kB / 0.5369 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.4529, allocations: 0 / 0.5369 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4529, allocations: 3.906 kB / 0.5369 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.453, allocations: 219 kB / 0.5371 GB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4531, allocations: 0 / 0.5371 GB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.4532, allocations: 19.31 kB / 0.5371 GB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.4532, allocations: 1.375 kB / 0.5371 GB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.4532, allocations: 3.906 kB / 0.5371 GB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4533, allocations: 1.375 kB / 0.5371 GB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4533, allocations: 1.375 kB / 0.5371 GB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.4536, allocations: 185.1 kB / 0.5373 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.721e-05/0.4537, allocations: 99.33 kB / 0.5374 GB, free: 9.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.4537, allocations: 2.719 kB / 0.5374 GB, free: 9.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.4539, allocations: 5.094 kB / 0.5374 GB, free: 9.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.4539, allocations: 8.266 kB / 0.5374 GB, free: 9.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.4539, allocations: 4.875 kB / 0.5374 GB, free: 9.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001375/0.4541, allocations: 135.8 kB / 0.5375 GB, free: 9.582 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4541, allocations: 4 kB / 0.5376 GB, free: 9.578 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004307/0.4545, allocations: 134.5 kB / 0.5377 GB, free: 9.555 MB / 394.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001094/0.4556, allocations: 0.9173 MB / 0.5386 GB, free: 8.906 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.4559, allocations: 75.42 kB / 0.5386 GB, free: 8.902 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4559, allocations: 0 / 0.5386 GB, free: 8.902 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.62e-05/0.456, allocations: 36.22 kB / 0.5387 GB, free: 8.902 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.4562, allocations: 22.69 kB / 0.5387 GB, free: 8.898 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.4575, allocations: 0.9283 MB / 0.5396 GB, free: 8.348 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.4577, allocations: 0.6935 MB / 0.5403 GB, free: 7.648 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.4579, allocations: 48.27 kB / 0.5403 GB, free: 7.641 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4579, allocations: 0 / 0.5403 GB, free: 7.641 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.944/3.401, allocations: 3.955 MB / 0.5442 GB, free: 5.867 MB / 394.7 MB (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","../files/Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches