Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_4_0_0_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.001048/0.001048, allocations: 111.8 kB / 17.06 MB, free: 5.977 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.001102/0.001102, allocations: 194.9 kB / 18 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 51.91 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2515, allocations: 49.45 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.00234/0.2539, allocations: 1.346 MB / 401.6 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1441/0.398, allocations: 148.7 MB / 0.5374 GB, free: 2.129 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.49e-05/0.3981, allocations: 4 kB / 0.5374 GB, free: 2.125 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.3982, allocations: 7.922 kB / 0.5374 GB, free: 2.117 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008372/0.399, allocations: 230.8 kB / 0.5377 GB, free: 1.891 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000972/0.4, allocations: 398.4 kB / 0.538 GB, free: 1.504 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.4001, allocations: 59.7 kB / 0.5381 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.397e-05/0.4002, allocations: 0 / 0.5381 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.35e-05/0.4002, allocations: 23.94 kB / 0.5381 GB, free: 1.422 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.123e-05/0.4003, allocations: 39.83 kB / 0.5382 GB, free: 1.383 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.4003, allocations: 0 / 0.5382 GB, free: 1.383 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.4015, allocations: 0.659 MB / 0.5388 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.4016, allocations: 19.91 kB / 0.5388 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.4016, allocations: 19.88 kB / 0.5388 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008234/0.4024, allocations: 495 kB / 0.5393 GB, free: 204 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4024, allocations: 0 / 0.5393 GB, free: 204 kB / 462.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.4025, allocations: 4 kB / 0.5393 GB, free: 200 kB / 462.1 MB Notification: Performance of Transformations before backend: time 9.988e-06/0.4025, allocations: 0 / 0.5393 GB, free: 200 kB / 462.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.1815/0.5839, allocations: 424.2 kB / 0.5397 GB, free: 151.1 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.587e-05/0.584, allocations: 11.39 kB / 0.5397 GB, free: 151.1 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.314e-05/0.5841, allocations: 34.11 kB / 0.5398 GB, free: 151.1 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.5853, allocations: 98.41 kB / 0.5399 GB, free: 151.1 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.5855, allocations: 216.4 kB / 0.5401 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.5856, allocations: 6.359 kB / 0.5401 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.5856, allocations: 2.531 kB / 0.5401 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.5858, allocations: 92.66 kB / 0.5402 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.5859, allocations: 3.938 kB / 0.5402 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.5859, allocations: 4.578 kB / 0.5402 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.5859, allocations: 1.125 kB / 0.5402 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.5861, allocations: 50.42 kB / 0.5402 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002414/0.5863, allocations: 206.9 kB / 0.5404 GB, free: 150.7 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005226/0.5869, allocations: 121.6 kB / 0.5405 GB, free: 150.6 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.587, allocations: 41.48 kB / 0.5406 GB, free: 150.6 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005062/0.5875, allocations: 0.9896 MB / 0.5415 GB, free: 149.4 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.5875, allocations: 35.41 kB / 0.5416 GB, free: 149.4 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.5875, allocations: 0.5 kB / 0.5416 GB, free: 149.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004918/0.588, allocations: 136.8 kB / 0.5417 GB, free: 149.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.5881, allocations: 82.17 kB / 0.5418 GB, free: 149.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.5883, allocations: 152.2 kB / 0.5419 GB, free: 149.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.5883, allocations: 32.8 kB / 0.542 GB, free: 149.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.875e-05/0.5883, allocations: 85.77 kB / 0.542 GB, free: 149 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.5884, allocations: 21.02 kB / 0.5421 GB, free: 149 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/0.5884, allocations: 29.33 kB / 0.5421 GB, free: 149 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.422e-05/0.5885, allocations: 320.2 kB / 0.5424 GB, free: 148.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.5886, allocations: 29.2 kB / 0.5424 GB, free: 148.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.5887, allocations: 47.52 kB / 0.5425 GB, free: 148.6 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.5889, allocations: 88.34 kB / 0.5425 GB, free: 148.6 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5889, allocations: 1.875 kB / 0.5425 GB, free: 148.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003337/0.5893, allocations: 122.9 kB / 0.5427 GB, free: 148.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.5893, allocations: 9.656 kB / 0.5427 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5893, allocations: 1.031 kB / 0.5427 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.5893, allocations: 2.266 kB / 0.5427 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.5895, allocations: 26.62 kB / 0.5427 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.5895, allocations: 1.75 kB / 0.5427 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.5897, allocations: 16.16 kB / 0.5427 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.5897, allocations: 6.891 kB / 0.5427 GB, free: 148.5 MB / 462.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 5.925e-05/0.5898, allocations: 112.8 kB / 0.5428 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.5899, allocations: 11.52 kB / 0.5428 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005737/0.5904, allocations: 240.4 kB / 0.5431 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.5905, allocations: 5.094 kB / 0.5431 GB, free: 148.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5905, allocations: 6.688 kB / 0.5431 GB, free: 148.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.5905, allocations: 4.953 kB / 0.5431 GB, free: 148.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.5906, allocations: 209.6 kB / 0.5433 GB, free: 148 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5906, allocations: 1.625 kB / 0.5433 GB, free: 148 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.5908, allocations: 24.11 kB / 0.5433 GB, free: 148 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.5908, allocations: 4.969 kB / 0.5433 GB, free: 148 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.5908, allocations: 2.484 kB / 0.5433 GB, free: 148 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.5909, allocations: 1.094 kB / 0.5433 GB, free: 148 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5909, allocations: 1.641 kB / 0.5433 GB, free: 148 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003986/0.5913, allocations: 182.5 kB / 0.5435 GB, free: 147.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.5913, allocations: 94.48 kB / 0.5436 GB, free: 147.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.5914, allocations: 9.656 kB / 0.5436 GB, free: 147.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.5915, allocations: 4.453 kB / 0.5436 GB, free: 147.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.5916, allocations: 7.391 kB / 0.5436 GB, free: 147.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.5916, allocations: 7.328 kB / 0.5436 GB, free: 147.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.5918, allocations: 137.8 kB / 0.5437 GB, free: 147.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5918, allocations: 0.5 kB / 0.5437 GB, free: 147.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005224/0.5923, allocations: 125.7 kB / 0.5439 GB, free: 147.7 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.001101/0.5934, allocations: 0.9337 MB / 0.5448 GB, free: 147 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002581/0.5937, allocations: 75.11 kB / 0.5448 GB, free: 147 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5937, allocations: 0 / 0.5448 GB, free: 147 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.5938, allocations: 41.69 kB / 0.5449 GB, free: 147 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.594, allocations: 13.22 kB / 0.5449 GB, free: 147 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.596, allocations: 1.792 MB / 0.5467 GB, free: 145.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.298e-05/0.5961, allocations: 0.6844 MB / 0.5473 GB, free: 144.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003769/0.5965, allocations: 432.9 kB / 0.5477 GB, free: 144.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.5966, allocations: 47.27 kB / 0.5478 GB, free: 144.5 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.5966, allocations: 0 / 0.5478 GB, free: 144.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02135/0.618, allocations: 6.673 MB / 0.5543 GB, free: 138 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.44/8.058, allocations: 4.562 kB / 0.5543 GB, free: 138 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches