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.0009329/0.000933, allocations: 103.9 kB / 17.58 MB, free: 5.422 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.001129/0.00113, allocations: 192.2 kB / 18.51 MB, free: 4.508 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.288/1.288, allocations: 205.1 MB / 224.4 MB, free: 12.29 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.001109/0.001109, allocations: 60.14 kB / 280.7 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07978/0.0809, allocations: 46.63 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002536/0.08346, allocations: 1.353 MB / 328.7 MB, free: 3.008 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.3077/0.3912, allocations: 150.8 MB / 479.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.045e-05/0.3913, allocations: 0 / 479.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.764e-05/0.3914, allocations: 11.86 kB / 479.5 MB, free: 14.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.3925, allocations: 352.4 kB / 479.9 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.3944, allocations: 0.8004 MB / 480.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.3946, allocations: 67.72 kB / 480.7 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.3946, allocations: 7.938 kB / 480.7 MB, free: 13.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.752e-05/0.3947, allocations: 35.84 kB / 480.8 MB, free: 13.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.529e-05/0.3948, allocations: 39.89 kB / 480.8 MB, free: 13.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.3948, allocations: 0 / 480.8 MB, free: 13.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002323/0.3971, allocations: 1.333 MB / 482.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/0.3972, allocations: 19.91 kB / 482.2 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.3972, allocations: 23.88 kB / 482.2 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001691/0.3989, allocations: 0.8576 MB / 483 MB, free: 11.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3989, allocations: 0 / 483 MB, free: 11.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.399, allocations: 0 / 483 MB, free: 11.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.399, allocations: 0 / 483 MB, free: 11.41 MB / 382.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.0007467/0.3997, allocations: 487.7 kB / 483.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.3998, allocations: 12.03 kB / 483.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.271e-05/0.3998, allocations: 30.75 kB / 483.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003117/0.4001, allocations: 40.8 kB / 483.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.4003, allocations: 194.8 kB / 483.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.4003, allocations: 384 / 483.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.4003, allocations: 11.94 kB / 483.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.4005, allocations: 67.39 kB / 483.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.4005, allocations: 4 kB / 483.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.4005, allocations: 0 / 483.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4005, allocations: 4 kB / 483.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.4007, allocations: 47.89 kB / 483.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.4008, allocations: 186.6 kB / 484.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.4011, allocations: 121 kB / 484.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.407e-05/0.4012, allocations: 41.75 kB / 484.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000573/0.4018, allocations: 145 kB / 484.4 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.4018, allocations: 38.44 kB / 484.4 MB, free: 9.801 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.4018, allocations: 0 / 484.4 MB, free: 9.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003721/0.4022, allocations: 121.8 kB / 484.6 MB, free: 9.676 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.4023, allocations: 85.09 kB / 484.6 MB, free: 9.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.4024, allocations: 142.4 kB / 484.8 MB, free: 9.426 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.4024, allocations: 25.7 kB / 484.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/0.4025, allocations: 88.14 kB / 484.9 MB, free: 9.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/0.4025, allocations: 27.64 kB / 484.9 MB, free: 9.277 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.4026, allocations: 17.72 kB / 484.9 MB, free: 9.254 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4027, allocations: 322.8 kB / 485.2 MB, free: 8.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.705e-05/0.4028, allocations: 23.98 kB / 485.3 MB, free: 8.906 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-05/0.4028, allocations: 55.36 kB / 485.3 MB, free: 8.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.403, allocations: 79.34 kB / 485.4 MB, free: 8.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.403, allocations: 0 / 485.4 MB, free: 8.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002464/0.4033, allocations: 109.5 kB / 485.5 MB, free: 8.637 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.4033, allocations: 8 kB / 485.5 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.4033, allocations: 4 kB / 485.5 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.4033, allocations: 0 / 485.5 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.859e-05/0.4034, allocations: 19.98 kB / 485.5 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.4034, allocations: 4.938 kB / 485.5 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.401e-05/0.4034, allocations: 0 / 485.5 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.4035, allocations: 4 kB / 485.6 MB, free: 8.598 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 9.044e-05/0.4036, allocations: 125.7 kB / 485.7 MB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/0.4036, allocations: 11.91 kB / 485.7 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/0.4039, allocations: 113.9 kB / 485.8 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.4039, allocations: 0 / 485.8 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4039, allocations: 0 / 485.8 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4039, allocations: 0 / 485.8 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.4041, allocations: 193.5 kB / 486 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4041, allocations: 0.875 kB / 486 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.331e-05/0.4041, allocations: 8 kB / 486 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.4042, allocations: 3.984 kB / 486 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.4042, allocations: 4 kB / 486 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4042, allocations: 7.938 kB / 486 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4042, allocations: 0 / 486 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.4045, allocations: 169.7 kB / 486.2 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.033e-05/0.4046, allocations: 85.36 kB / 486.3 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.4046, allocations: 4 kB / 486.3 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.176e-05/0.4047, allocations: 4.062 kB / 486.3 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.4047, allocations: 11.97 kB / 486.3 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.4047, allocations: 4 kB / 486.3 MB, free: 7.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.369e-05/0.4048, allocations: 107.3 kB / 486.4 MB, free: 7.664 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4048, allocations: 3.938 kB / 486.4 MB, free: 7.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007115/0.4055, allocations: 207.8 kB / 486.6 MB, free: 7.457 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.002014/0.4075, allocations: 1.113 MB / 487.7 MB, free: 6.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.4078, allocations: 71.83 kB / 487.8 MB, free: 6.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4078, allocations: 0 / 487.8 MB, free: 6.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.869e-05/0.4079, allocations: 35.92 kB / 487.8 MB, free: 6.215 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.4081, allocations: 28.09 kB / 487.8 MB, free: 6.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.4101, allocations: 1.747 MB / 489.6 MB, free: 4.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.4104, allocations: 0.6885 MB / 490.3 MB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.417e-05/0.4105, allocations: 24.14 kB / 490.3 MB, free: 3.602 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.454e-05/0.4106, allocations: 23.44 kB / 490.3 MB, free: 3.578 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4106, allocations: 0 / 490.3 MB, free: 3.578 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.4386, allocations: 7.628 MB / 497.9 MB, free: 11.89 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.629/8.068, allocations: 4.609 kB / 498 MB, free: 11.88 MB / 398.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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