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.00116/0.00116, allocations: 113.4 kB / 17.73 MB, free: 5.324 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.001117/0.001117, allocations: 188.2 kB / 18.66 MB, free: 4.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.189/1.189, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001187/0.001187, allocations: 55.91 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07763/0.07882, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002156/0.08101, allocations: 1.365 MB / 376 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3029/0.384, allocations: 150.8 MB / 0.5144 GB, free: 7.355 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.365e-05/0.3841, allocations: 4 kB / 0.5144 GB, free: 7.352 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.528e-05/0.3841, allocations: 3.938 kB / 0.5144 GB, free: 7.348 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.3852, allocations: 344.4 kB / 0.5148 GB, free: 7.012 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001949/0.3872, allocations: 0.8024 MB / 0.5155 GB, free: 6.207 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.3873, allocations: 79.62 kB / 0.5156 GB, free: 6.129 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.3874, allocations: 11.94 kB / 0.5156 GB, free: 6.117 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.633e-05/0.3875, allocations: 35.84 kB / 0.5157 GB, free: 6.082 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.543e-05/0.3875, allocations: 31.91 kB / 0.5157 GB, free: 6.051 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.3876, allocations: 4 kB / 0.5157 GB, free: 6.047 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002255/0.3898, allocations: 1.404 MB / 0.5171 GB, free: 4.641 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.389e-05/0.3899, allocations: 11.98 kB / 0.5171 GB, free: 4.629 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.3899, allocations: 27.86 kB / 0.5171 GB, free: 4.602 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.3913, allocations: 0.8575 MB / 0.5179 GB, free: 3.742 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3913, allocations: 0 / 0.5179 GB, free: 3.742 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3913, allocations: 4 kB / 0.518 GB, free: 3.738 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.3913, allocations: 0 / 0.518 GB, free: 3.738 MB / 446.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.0006837/0.392, allocations: 471.7 kB / 0.5184 GB, free: 3.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3921, allocations: 8.031 kB / 0.5184 GB, free: 3.223 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.3921, allocations: 34.75 kB / 0.5184 GB, free: 3.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003012/0.3924, allocations: 32.89 kB / 0.5185 GB, free: 3.148 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.3926, allocations: 200.2 kB / 0.5187 GB, free: 2.914 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.3926, allocations: 12.25 kB / 0.5187 GB, free: 2.902 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.3926, allocations: 7.844 kB / 0.5187 GB, free: 2.895 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.3928, allocations: 80.27 kB / 0.5188 GB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3928, allocations: 0 / 0.5188 GB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.3928, allocations: 0 / 0.5188 GB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3929, allocations: 0 / 0.5188 GB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.393, allocations: 39.97 kB / 0.5188 GB, free: 2.766 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.3932, allocations: 198.5 kB / 0.519 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.3935, allocations: 117.1 kB / 0.5191 GB, free: 2.387 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.095e-05/0.3936, allocations: 37.7 kB / 0.5191 GB, free: 2.344 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005318/0.3941, allocations: 141 kB / 0.5193 GB, free: 2.188 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.3941, allocations: 34.5 kB / 0.5193 GB, free: 2.145 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3941, allocations: 0 / 0.5193 GB, free: 2.145 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003262/0.3945, allocations: 125.9 kB / 0.5194 GB, free: 2.016 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.3945, allocations: 77.11 kB / 0.5195 GB, free: 1.922 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.3946, allocations: 141.8 kB / 0.5196 GB, free: 1.773 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.3946, allocations: 25.7 kB / 0.5197 GB, free: 1.742 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.3947, allocations: 88.12 kB / 0.5197 GB, free: 1.652 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.3947, allocations: 23.66 kB / 0.5198 GB, free: 1.629 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.3948, allocations: 21.7 kB / 0.5198 GB, free: 1.602 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.363e-05/0.3949, allocations: 318.8 kB / 0.5201 GB, free: 1.281 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.325e-05/0.3949, allocations: 24.86 kB / 0.5201 GB, free: 1.258 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.558e-05/0.395, allocations: 55.41 kB / 0.5202 GB, free: 1.191 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.3952, allocations: 83.34 kB / 0.5202 GB, free: 1.098 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3952, allocations: 4 kB / 0.5202 GB, free: 1.094 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002358/0.3954, allocations: 109.4 kB / 0.5204 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3954, allocations: 11.94 kB / 0.5204 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.3955, allocations: 0 / 0.5204 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3955, allocations: 0 / 0.5204 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.729e-05/0.3955, allocations: 17.86 kB / 0.5204 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-06/0.3956, allocations: 4 kB / 0.5204 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.3956, allocations: 3.906 kB / 0.5204 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.3956, allocations: 4 kB / 0.5204 GB, free: 0.9414 MB / 446.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 6.805e-05/0.3957, allocations: 125.8 kB / 0.5205 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.997e-05/0.3957, allocations: 4 kB / 0.5205 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.396, allocations: 115.9 kB / 0.5206 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.396, allocations: 0 / 0.5206 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.396, allocations: 0 / 0.5206 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.396, allocations: 4 kB / 0.5206 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.3961, allocations: 189.5 kB / 0.5208 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3962, allocations: 3.938 kB / 0.5208 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.753e-05/0.3962, allocations: 15.94 kB / 0.5208 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3963, allocations: 7.938 kB / 0.5208 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.3963, allocations: 0 / 0.5208 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3963, allocations: 3.375 kB / 0.5208 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3963, allocations: 0 / 0.5208 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.3966, allocations: 169.8 kB / 0.521 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.3967, allocations: 93.42 kB / 0.5211 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.3967, allocations: 0 / 0.5211 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.324e-05/0.3967, allocations: 4 kB / 0.5211 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.3968, allocations: 11.91 kB / 0.5211 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.3968, allocations: 8 kB / 0.5211 GB, free: 100 kB / 446.1 MB Notification: Performance of sorting global known variables: time 8.37e-05/0.3969, allocations: 115.6 kB / 0.5212 GB, free: 15.98 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3969, allocations: 0 / 0.5212 GB, free: 15.98 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005733/0.3975, allocations: 195.8 kB / 0.5214 GB, free: 15.79 MB / 462.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.001602/0.3991, allocations: 1.11 MB / 0.5225 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.3993, allocations: 63.89 kB / 0.5226 GB, free: 14.59 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3993, allocations: 0 / 0.5226 GB, free: 14.59 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.372e-05/0.3994, allocations: 40.05 kB / 0.5226 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.3996, allocations: 20.03 kB / 0.5226 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.4015, allocations: 1.76 MB / 0.5243 GB, free: 12.67 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.4017, allocations: 0.6924 MB / 0.525 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.417e-05/0.4018, allocations: 20.89 kB / 0.525 GB, free: 11.93 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.088e-05/0.4018, allocations: 23.44 kB / 0.5251 GB, free: 11.91 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4018, allocations: 0 / 0.5251 GB, free: 11.91 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.4268, allocations: 7.776 MB / 0.5326 GB, free: 4.086 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.527/7.953, allocations: 12.05 kB / 0.5327 GB, free: 4.074 MB / 462.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