Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_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 4.0.0+maint.om/package.mo): time 0.000986/0.0009862, allocations: 94.38 kB / 17.3 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.001033/0.001033, allocations: 176.2 kB / 18.21 MB, free: 5.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.268/1.268, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.0004741, allocations: 16 kB / 281.5 MB, free: 3.332 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08224/0.08272, allocations: 47.58 MB / 329.1 MB, free: 3.684 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.0014/0.08417, allocations: 1.093 MB / 330.1 MB, free: 2.578 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.304/0.3882, allocations: 146.9 MB / 477.1 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.005e-05/0.3882, allocations: 0 / 477.1 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.879e-05/0.3883, allocations: 3.938 kB / 477.1 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.3893, allocations: 313.8 kB / 477.4 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001749/0.3911, allocations: 0.6999 MB / 478.1 MB, free: 4.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.3912, allocations: 95.61 kB / 478.2 MB, free: 4.496 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.205e-05/0.3913, allocations: 11.92 kB / 478.2 MB, free: 4.484 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.407e-05/0.3913, allocations: 35.84 kB / 478.2 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.489e-05/0.3914, allocations: 35.8 kB / 478.3 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.3914, allocations: 4 kB / 478.3 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002181/0.3936, allocations: 1.524 MB / 479.8 MB, free: 2.883 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.965e-05/0.3937, allocations: 23.86 kB / 479.8 MB, free: 2.859 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.3937, allocations: 57.55 kB / 479.9 MB, free: 2.797 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.3949, allocations: 0.9198 MB / 480.8 MB, free: 1.875 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3949, allocations: 0 / 480.8 MB, free: 1.875 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.395, allocations: 4 kB / 480.8 MB, free: 1.871 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.395, allocations: 4 kB / 480.8 MB, free: 1.867 MB / 366.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.0006274/0.3956, allocations: 467.8 kB / 481.3 MB, free: 1.363 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.3957, allocations: 12.02 kB / 481.3 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.482e-05/0.3957, allocations: 30.75 kB / 481.3 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00031/0.396, allocations: 36.89 kB / 481.3 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.3962, allocations: 196.2 kB / 481.5 MB, free: 1.047 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.3962, allocations: 4.375 kB / 481.5 MB, free: 1.043 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.3963, allocations: 7.938 kB / 481.5 MB, free: 1.035 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.3964, allocations: 71.39 kB / 481.6 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.3965, allocations: 4 kB / 481.6 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.3965, allocations: 0 / 481.6 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3965, allocations: 0 / 481.6 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.3966, allocations: 47.89 kB / 481.7 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002129/0.3968, allocations: 194.5 kB / 481.8 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003037/0.3971, allocations: 121 kB / 482 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.587e-05/0.3972, allocations: 41.75 kB / 482 MB, free: 488 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000462/0.3977, allocations: 129 kB / 482.1 MB, free: 340 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.3977, allocations: 39.31 kB / 482.2 MB, free: 292 kB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.3977, allocations: 0 / 482.2 MB, free: 292 kB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003331/0.3981, allocations: 117.6 kB / 482.3 MB, free: 168 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.3981, allocations: 77.11 kB / 482.4 MB, free: 72 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.3983, allocations: 141.8 kB / 482.5 MB, free: 15.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.3983, allocations: 29.7 kB / 482.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.027e-05/0.3983, allocations: 88.14 kB / 482.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.3984, allocations: 19.64 kB / 482.6 MB, free: 15.78 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.3984, allocations: 17.72 kB / 482.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3985, allocations: 318.8 kB / 483 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.643e-05/0.3986, allocations: 27.97 kB / 483 MB, free: 15.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-05/0.3987, allocations: 52.28 kB / 483 MB, free: 15.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.3988, allocations: 83.7 kB / 483.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3988, allocations: 0 / 483.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002308/0.3991, allocations: 117.4 kB / 483.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.3991, allocations: 4 kB / 483.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3991, allocations: 4.062 kB / 483.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3991, allocations: 7.938 kB / 483.3 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.288e-05/0.3992, allocations: 15.98 kB / 483.3 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3992, allocations: 0 / 483.3 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/0.3993, allocations: 4 kB / 483.3 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.3993, allocations: 4.75 kB / 483.3 MB, free: 15.09 MB / 382.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.296e-05/0.3993, allocations: 125.7 kB / 483.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.3994, allocations: 3.906 kB / 483.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.3996, allocations: 115.5 kB / 483.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3996, allocations: 4 kB / 483.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3997, allocations: 0 / 483.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3997, allocations: 0 / 483.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.3998, allocations: 189.5 kB / 483.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3998, allocations: 3.938 kB / 483.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.307e-05/0.3999, allocations: 12 kB / 483.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3999, allocations: 3.984 kB / 483.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.3999, allocations: 0 / 483.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3999, allocations: 4 kB / 483.7 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3999, allocations: 4 kB / 483.7 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.4002, allocations: 161.9 kB / 483.9 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-05/0.4003, allocations: 93.03 kB / 484 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.4003, allocations: 7.984 kB / 484 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.928e-05/0.4004, allocations: 0 / 484 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.4004, allocations: 8.062 kB / 484 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.4004, allocations: 8 kB / 484 MB, free: 14.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.969e-05/0.4005, allocations: 115.6 kB / 484.1 MB, free: 14.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4005, allocations: 3.938 kB / 484.1 MB, free: 14.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000519/0.401, allocations: 203.8 kB / 484.3 MB, free: 13.95 MB / 382.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.00153/0.4026, allocations: 1.113 MB / 485.4 MB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000177/0.4028, allocations: 67.89 kB / 485.5 MB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4028, allocations: 0 / 485.5 MB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-05/0.4029, allocations: 31.92 kB / 485.5 MB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.4031, allocations: 20.11 kB / 485.6 MB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.4048, allocations: 1.813 MB / 487.4 MB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.4051, allocations: 0.6887 MB / 488.1 MB, free: 10.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.43e-05/0.4051, allocations: 28.25 kB / 488.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.4052, allocations: 19.44 kB / 488.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4052, allocations: 0 / 488.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.309/0.7142, allocations: 7.335 MB / 495.4 MB, free: 2.672 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002729/0.7145, allocations: 263.2 kB / 495.7 MB, free: 2.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.343/3.057, allocations: 0 / 495.7 MB, free: 2.41 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches