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.001261/0.001261, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001353/0.001353, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 71.86 kB / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2398, allocations: 50.55 MB / 408.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002271/0.2422, allocations: 1.385 MB / 410.2 MB, free: 76 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3886/0.6308, allocations: 151.9 MB / 0.5489 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.043e-05/0.6308, allocations: 0 / 0.5489 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.189e-05/0.6309, allocations: 4.641 kB / 0.5489 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.6319, allocations: 377.4 kB / 0.5493 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000967/0.6329, allocations: 0.5013 MB / 0.5498 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.576e-05/0.633, allocations: 73.2 kB / 0.5499 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.288e-05/0.633, allocations: 4.891 kB / 0.5499 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.618e-05/0.6331, allocations: 34.89 kB / 0.5499 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.379e-05/0.6332, allocations: 38.14 kB / 0.5499 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.6332, allocations: 2.656 kB / 0.5499 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.6347, allocations: 1.085 MB / 0.551 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.017e-05/0.6347, allocations: 18.16 kB / 0.551 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.6348, allocations: 26.59 kB / 0.551 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008645/0.6357, allocations: 0.6996 MB / 0.5517 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.6357, allocations: 3.562 kB / 0.5517 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.6357, allocations: 0 / 0.5517 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.6357, 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.0006307/0.6363, allocations: 458 kB / 0.5522 GB, free: 16.43 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.6364, allocations: 9.906 kB / 0.5522 GB, free: 16.43 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.318e-05/0.6364, allocations: 41.02 kB / 0.5522 GB, free: 16.38 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004144/0.6368, allocations: 71.66 kB / 0.5523 GB, free: 16.38 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.637, allocations: 198.2 kB / 0.5525 GB, free: 16.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.637, allocations: 6.625 kB / 0.5525 GB, free: 16.17 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.637, allocations: 0 / 0.5525 GB, free: 16.17 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.6372, allocations: 75.17 kB / 0.5526 GB, free: 16.12 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.6372, allocations: 3.984 kB / 0.5526 GB, free: 16.12 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.6372, allocations: 2.5 kB / 0.5526 GB, free: 16.12 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.6372, allocations: 4 kB / 0.5526 GB, free: 16.12 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.947e-05/0.6373, allocations: 43.38 kB / 0.5526 GB, free: 16.12 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.6375, allocations: 197.5 kB / 0.5528 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.6378, allocations: 111.2 kB / 0.5529 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.395e-05/0.6378, allocations: 37.8 kB / 0.5529 GB, free: 15.85 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004513/0.6383, allocations: 133 kB / 0.5531 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.6383, allocations: 37.59 kB / 0.5531 GB, free: 15.71 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.6383, allocations: 0 / 0.5531 GB, free: 15.71 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003292/0.6387, allocations: 117.2 kB / 0.5532 GB, free: 15.68 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.6387, allocations: 78.61 kB / 0.5533 GB, free: 15.59 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.6389, allocations: 144.1 kB / 0.5534 GB, free: 15.49 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.6389, allocations: 25.7 kB / 0.5534 GB, free: 15.46 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.6389, allocations: 92.22 kB / 0.5535 GB, free: 15.38 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.639, allocations: 31.31 kB / 0.5536 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.639, allocations: 18.53 kB / 0.5536 GB, free: 15.34 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.6391, allocations: 319.8 kB / 0.5539 GB, free: 15.03 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.054e-05/0.6392, allocations: 24.42 kB / 0.5539 GB, free: 15.03 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.216e-05/0.6393, allocations: 49.56 kB / 0.554 GB, free: 15 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.6394, allocations: 87.09 kB / 0.554 GB, free: 14.95 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6394, allocations: 0 / 0.554 GB, free: 14.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002203/0.6396, allocations: 114.2 kB / 0.5542 GB, free: 14.92 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.6396, allocations: 5.375 kB / 0.5542 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.6397, allocations: 2.75 kB / 0.5542 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.6397, allocations: 0.8438 kB / 0.5542 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.131e-05/0.6397, allocations: 19.83 kB / 0.5542 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.6397, allocations: 2.219 kB / 0.5542 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.309e-05/0.6398, allocations: 6.703 kB / 0.5542 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.6398, allocations: 5.609 kB / 0.5542 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 9.454e-05/0.6399, allocations: 119.7 kB / 0.5543 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.932e-05/0.64, allocations: 4.219 kB / 0.5543 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002173/0.6402, allocations: 118.4 kB / 0.5544 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.6402, allocations: 8.25 kB / 0.5544 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.6402, allocations: 3.938 kB / 0.5544 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.6402, allocations: 2.531 kB / 0.5544 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.6404, allocations: 187 kB / 0.5546 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6404, allocations: 0 / 0.5546 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.294e-05/0.6404, allocations: 17.03 kB / 0.5546 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.6404, allocations: 0.5 kB / 0.5546 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.6405, allocations: 6.062 kB / 0.5546 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.6405, allocations: 0 / 0.5546 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6405, allocations: 4 kB / 0.5546 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.6408, allocations: 166.5 kB / 0.5548 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.305e-05/0.6408, allocations: 86.84 kB / 0.5549 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.6409, allocations: 6.375 kB / 0.5549 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.828e-05/0.6409, allocations: 0 / 0.5549 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.6409, allocations: 11.55 kB / 0.5549 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.641, allocations: 2.625 kB / 0.5549 GB, free: 14.36 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.177e-05/0.641, allocations: 116.4 kB / 0.555 GB, free: 14.29 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.62e-07/0.641, allocations: 0 / 0.555 GB, free: 14.29 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004859/0.6415, allocations: 166.1 kB / 0.5552 GB, free: 14.25 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.001381/0.6429, allocations: 1.016 MB / 0.5562 GB, free: 13.58 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.6431, allocations: 67.38 kB / 0.5562 GB, free: 13.58 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6431, allocations: 0 / 0.5562 GB, free: 13.58 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 6.473e-05/0.6432, allocations: 32.58 kB / 0.5563 GB, free: 13.58 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.6434, allocations: 28.2 kB / 0.5563 GB, free: 13.57 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.6453, allocations: 1.745 MB / 0.558 GB, free: 12.28 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.6456, allocations: 0.6888 MB / 0.5587 GB, free: 11.58 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.809e-05/0.6457, allocations: 24.03 kB / 0.5587 GB, free: 11.57 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.6457, allocations: 26.11 kB / 0.5587 GB, free: 11.56 MB / 478.1 MB Notification: Performance of SimCode: time 2.81e-07/0.6457, allocations: 0 / 0.5587 GB, free: 11.56 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02984/0.6756, allocations: 6.301 MB / 0.5649 GB, free: 10.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/8.567, allocations: 7.109 kB / 0.5649 GB, free: 10.7 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.1.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