Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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_T,fileNamePrefix="Modelica_trunk_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_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 trunk/package.mo): time 0.001262/0.001265, allocations: 122.2 kB / 17.78 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001351/0.001351, allocations: 197.2 kB / 18.72 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 247 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 68.03 kB / 358.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2176, allocations: 50.55 MB / 408.8 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002237/0.2199, allocations: 1.37 MB / 410.2 MB, free: 272 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3629/0.5828, allocations: 151.6 MB / 0.5486 GB, free: 1.465 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.466e-05/0.5828, allocations: 0 / 0.5486 GB, free: 1.465 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.858e-05/0.5829, allocations: 8.047 kB / 0.5486 GB, free: 1.465 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007115/0.5836, allocations: 238.5 kB / 0.5488 GB, free: 1.465 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000777/0.5844, allocations: 393.2 kB / 0.5492 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 7.187e-05/0.5845, allocations: 58.47 kB / 0.5493 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.15e-05/0.5845, allocations: 6.078 kB / 0.5493 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.608e-05/0.5846, allocations: 24.12 kB / 0.5493 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.127e-05/0.5846, allocations: 31.14 kB / 0.5493 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.5847, allocations: 2.75 kB / 0.5493 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009073/0.5856, allocations: 0.6689 MB / 0.55 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.5856, allocations: 9.312 kB / 0.55 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.5856, allocations: 24.22 kB / 0.55 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005897/0.5862, allocations: 0.495 MB / 0.5505 GB, free: 1.418 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.5862, allocations: 0.875 kB / 0.5505 GB, free: 1.418 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5863, allocations: 0 / 0.5505 GB, free: 1.418 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.5863, allocations: 0 / 0.5505 GB, free: 1.418 MB / 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.000547/0.5868, allocations: 433.1 kB / 0.5509 GB, free: 17.02 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.5869, allocations: 16.34 kB / 0.5509 GB, free: 17.02 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.898e-05/0.5869, allocations: 36.33 kB / 0.551 GB, free: 16.98 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.588, allocations: 103.5 kB / 0.5511 GB, free: 16.98 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.5883, allocations: 229 kB / 0.5513 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.5883, allocations: 0 / 0.5513 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.5884, allocations: 2.781 kB / 0.5513 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.5886, allocations: 93.44 kB / 0.5514 GB, free: 16.72 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.5886, allocations: 1.203 kB / 0.5514 GB, free: 16.72 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.5886, allocations: 7.094 kB / 0.5514 GB, free: 16.72 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.5886, allocations: 0.8438 kB / 0.5514 GB, free: 16.72 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.5887, allocations: 41.91 kB / 0.5514 GB, free: 16.72 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.589, allocations: 208.8 kB / 0.5516 GB, free: 16.52 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003975/0.5894, allocations: 130.4 kB / 0.5517 GB, free: 16.47 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.674e-05/0.5895, allocations: 37.47 kB / 0.5518 GB, free: 16.46 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006582/0.5901, allocations: 0.9845 MB / 0.5527 GB, free: 15.33 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.5902, allocations: 38.5 kB / 0.5528 GB, free: 15.29 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.542e-06/0.5902, allocations: 0 / 0.5528 GB, free: 15.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004248/0.5906, allocations: 138.2 kB / 0.5529 GB, free: 15.25 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.5907, allocations: 84.08 kB / 0.553 GB, free: 15.16 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.5909, allocations: 146.2 kB / 0.5531 GB, free: 15.06 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.5909, allocations: 34.41 kB / 0.5532 GB, free: 15.03 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.718e-05/0.5909, allocations: 81.02 kB / 0.5532 GB, free: 14.95 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.591, allocations: 27.36 kB / 0.5533 GB, free: 14.93 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/0.591, allocations: 32.19 kB / 0.5533 GB, free: 14.92 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.5911, allocations: 320.5 kB / 0.5536 GB, free: 14.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.455e-05/0.5912, allocations: 27.27 kB / 0.5536 GB, free: 14.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.825e-05/0.5913, allocations: 56.48 kB / 0.5537 GB, free: 14.57 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.5915, allocations: 85.95 kB / 0.5538 GB, free: 14.54 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5916, allocations: 0.9688 kB / 0.5538 GB, free: 14.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002976/0.5919, allocations: 123.9 kB / 0.5539 GB, free: 14.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.5919, allocations: 4.406 kB / 0.5539 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.5919, allocations: 4.375 kB / 0.5539 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.5919, allocations: 0 / 0.5539 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.592, allocations: 22.47 kB / 0.5539 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.592, allocations: 2.375 kB / 0.5539 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.5922, allocations: 9.953 kB / 0.5539 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.5922, allocations: 7.938 kB / 0.5539 GB, free: 14.5 MB / 478.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.288e-05/0.5923, allocations: 122.9 kB / 0.554 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.5924, allocations: 9.469 kB / 0.5541 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004888/0.5929, allocations: 230.5 kB / 0.5543 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.5929, allocations: 0.9375 kB / 0.5543 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5929, allocations: 3.375 kB / 0.5543 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5929, allocations: 2.25 kB / 0.5543 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.5931, allocations: 225.5 kB / 0.5545 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5931, allocations: 0.5156 kB / 0.5545 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.5932, allocations: 31.69 kB / 0.5545 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.5933, allocations: 0.6875 kB / 0.5545 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.5933, allocations: 0.9375 kB / 0.5545 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5933, allocations: 3.297 kB / 0.5545 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5933, allocations: 3.188 kB / 0.5545 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/0.5937, allocations: 184 kB / 0.5547 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.925e-05/0.5937, allocations: 96.66 kB / 0.5548 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.5938, allocations: 2.688 kB / 0.5548 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.5939, allocations: 5.812 kB / 0.5548 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.594, allocations: 10.39 kB / 0.5548 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.594, allocations: 5.688 kB / 0.5548 GB, free: 13.95 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.5941, allocations: 133.4 kB / 0.555 GB, free: 13.88 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5942, allocations: 1.984 kB / 0.555 GB, free: 13.88 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004018/0.5946, allocations: 130.3 kB / 0.5551 GB, free: 13.86 MB / 478.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.001153/0.5957, allocations: 0.9314 MB / 0.556 GB, free: 13.22 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002511/0.596, allocations: 77.09 kB / 0.5561 GB, free: 13.22 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.596, allocations: 1.031 kB / 0.5561 GB, free: 13.22 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.5961, allocations: 41.14 kB / 0.5561 GB, free: 13.22 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.5963, allocations: 10.58 kB / 0.5561 GB, free: 13.22 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.5985, allocations: 1.804 MB / 0.5579 GB, free: 12 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.5988, allocations: 0.6862 MB / 0.5585 GB, free: 11.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003975/0.5992, allocations: 432.6 kB / 0.559 GB, free: 11.29 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.5993, allocations: 48.19 kB / 0.559 GB, free: 11.28 MB / 478.1 MB Notification: Performance of SimCode: time 3.8e-07/0.5993, allocations: 0.8125 kB / 0.559 GB, free: 11.28 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02642/0.6258, allocations: 6.65 MB / 0.5655 GB, free: 10.48 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.615/8.241, allocations: 9.078 kB / 0.5655 GB, free: 10.48 MB / 478.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches