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.001552/0.001552, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00189/0.001891, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2224, allocations: 50.54 MB / 408.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002395/0.2249, allocations: 1.381 MB / 410.1 MB, free: 148 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3721/0.597, allocations: 151.9 MB / 0.5489 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.313e-05/0.5971, allocations: 1.094 kB / 0.5489 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.342e-05/0.5972, allocations: 8.109 kB / 0.5489 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.5982, allocations: 371.7 kB / 0.5492 GB, free: 0.918 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.5993, allocations: 0.4981 MB / 0.5497 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.5994, allocations: 79.88 kB / 0.5498 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.589e-05/0.5995, allocations: 7.844 kB / 0.5498 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.44e-05/0.5995, allocations: 33.94 kB / 0.5498 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.521e-05/0.5996, allocations: 30.52 kB / 0.5499 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.5996, allocations: 2.156 kB / 0.5499 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.6012, allocations: 1.09 MB / 0.5509 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.779e-05/0.6013, allocations: 12.89 kB / 0.5509 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.677e-05/0.6013, allocations: 30.81 kB / 0.551 GB, free: 0.875 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009663/0.6023, allocations: 0.6974 MB / 0.5517 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.6023, allocations: 0 / 0.5517 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.6023, allocations: 3.188 kB / 0.5517 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.6023, allocations: 0 / 0.5517 GB, free: 0.8438 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.0006079/0.603, allocations: 454.9 kB / 0.5521 GB, free: 16.43 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.603, allocations: 12.05 kB / 0.5521 GB, free: 16.43 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.965e-05/0.603, allocations: 34.5 kB / 0.5521 GB, free: 16.39 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004275/0.6035, allocations: 66.92 kB / 0.5522 GB, free: 16.39 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.6036, allocations: 200.1 kB / 0.5524 GB, free: 16.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.6037, allocations: 3.938 kB / 0.5524 GB, free: 16.18 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.6037, allocations: 2.5 kB / 0.5524 GB, free: 16.18 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.6038, allocations: 75.3 kB / 0.5525 GB, free: 16.13 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.6039, allocations: 1.094 kB / 0.5525 GB, free: 16.13 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.6039, allocations: 3 kB / 0.5525 GB, free: 16.13 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.6039, allocations: 0 / 0.5525 GB, free: 16.13 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.806e-05/0.604, allocations: 40.84 kB / 0.5525 GB, free: 16.13 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/0.6042, allocations: 206.8 kB / 0.5527 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.6044, allocations: 112.2 kB / 0.5528 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.783e-05/0.6045, allocations: 40.36 kB / 0.5528 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005004/0.605, allocations: 137.2 kB / 0.553 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.605, allocations: 31.75 kB / 0.553 GB, free: 15.72 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.844e-06/0.605, allocations: 4 kB / 0.553 GB, free: 15.72 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003261/0.6054, allocations: 122.5 kB / 0.5531 GB, free: 15.68 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.6054, allocations: 80.25 kB / 0.5532 GB, free: 15.59 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.6055, allocations: 140.8 kB / 0.5533 GB, free: 15.49 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.6056, allocations: 28.14 kB / 0.5534 GB, free: 15.46 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.6056, allocations: 86.73 kB / 0.5535 GB, free: 15.38 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.6056, allocations: 21.91 kB / 0.5535 GB, free: 15.37 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.6057, allocations: 19.81 kB / 0.5535 GB, free: 15.35 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.932e-05/0.6058, allocations: 321.6 kB / 0.5538 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.211e-05/0.6059, allocations: 27.53 kB / 0.5538 GB, free: 15.04 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.543e-05/0.6059, allocations: 46.95 kB / 0.5539 GB, free: 15 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.6061, allocations: 91.64 kB / 0.554 GB, free: 14.96 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6061, allocations: 0 / 0.554 GB, free: 14.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002259/0.6063, allocations: 112.8 kB / 0.5541 GB, free: 14.93 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.6063, allocations: 8.062 kB / 0.5541 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.6063, allocations: 3.984 kB / 0.5541 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.6064, allocations: 0 / 0.5541 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.478e-05/0.6064, allocations: 18.19 kB / 0.5541 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.6064, allocations: 0 / 0.5541 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.714e-05/0.6065, allocations: 15.53 kB / 0.5541 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.6065, allocations: 5.781 kB / 0.5541 GB, free: 14.91 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 7.006e-05/0.6066, allocations: 122.8 kB / 0.5542 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/0.6066, allocations: 8.656 kB / 0.5542 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.6069, allocations: 108.5 kB / 0.5543 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.6069, allocations: 2.188 kB / 0.5543 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.6069, allocations: 0 / 0.5543 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.6069, allocations: 0 / 0.5543 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.607, allocations: 197.9 kB / 0.5545 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.607, allocations: 0 / 0.5545 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.567e-05/0.6071, allocations: 14.97 kB / 0.5545 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.6071, allocations: 0 / 0.5545 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.6071, allocations: 6.969 kB / 0.5546 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.6071, allocations: 0 / 0.5546 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6071, allocations: 3.094 kB / 0.5546 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.6074, allocations: 164.2 kB / 0.5547 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-05/0.6075, allocations: 83.47 kB / 0.5548 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.6075, allocations: 5.609 kB / 0.5548 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.025e-05/0.6076, allocations: 3.75 kB / 0.5548 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.6076, allocations: 7.125 kB / 0.5548 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.6076, allocations: 1 kB / 0.5548 GB, free: 14.37 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.497e-05/0.6077, allocations: 116.5 kB / 0.5549 GB, free: 14.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6077, allocations: 0 / 0.5549 GB, free: 14.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004908/0.6082, allocations: 168.7 kB / 0.5551 GB, free: 14.26 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 (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.001335/0.6095, allocations: 1.017 MB / 0.5561 GB, free: 13.59 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.6097, allocations: 71.58 kB / 0.5561 GB, free: 13.59 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6098, allocations: 0 / 0.5561 GB, free: 13.59 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 6.599e-05/0.6098, allocations: 28.91 kB / 0.5562 GB, free: 13.59 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.6101, allocations: 31.59 kB / 0.5562 GB, free: 13.59 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.6118, allocations: 1.74 MB / 0.5579 GB, free: 12.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.612, allocations: 0.6878 MB / 0.5586 GB, free: 11.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.809e-05/0.6121, allocations: 22.59 kB / 0.5586 GB, free: 11.59 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.053e-05/0.6121, allocations: 28.59 kB / 0.5586 GB, free: 11.58 MB / 478.1 MB Notification: Performance of SimCode: time 3.8e-07/0.6121, allocations: 0 / 0.5586 GB, free: 11.58 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08488/0.697, allocations: 6.326 MB / 0.5648 GB, free: 10.71 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.579, allocations: 4.656 kB / 0.5648 GB, free: 10.71 MB / 478.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