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.0008033/0.0008034, allocations: 91.77 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009264/0.0009264, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.207/1.207, allocations: 227.8 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001971/0.0001972, allocations: 4.281 kB / 307.8 MB, free: 0.7266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08007/0.08028, allocations: 51.53 MB / 359.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001272/0.08157, allocations: 1.105 MB / 360.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2921/0.3737, allocations: 148.1 MB / 0.4967 GB, free: 6.316 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.706e-05/0.3738, allocations: 0 / 0.4967 GB, free: 6.316 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.665e-05/0.3738, allocations: 7.922 kB / 0.4967 GB, free: 6.309 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009404/0.3747, allocations: 336.7 kB / 0.497 GB, free: 5.992 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009323/0.3757, allocations: 462.3 kB / 0.4974 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.735e-05/0.3758, allocations: 95.61 kB / 0.4975 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.3758, allocations: 4 kB / 0.4975 GB, free: 5.445 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.025e-05/0.3759, allocations: 31.86 kB / 0.4975 GB, free: 5.414 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.732e-05/0.376, allocations: 39.83 kB / 0.4976 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.376, allocations: 4 kB / 0.4976 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.3777, allocations: 1.245 MB / 0.4988 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.08e-05/0.3777, allocations: 11.98 kB / 0.4988 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.3778, allocations: 57.56 kB / 0.4989 GB, free: 4.051 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009386/0.3787, allocations: 0.7755 MB / 0.4996 GB, free: 3.273 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.3787, allocations: 0 / 0.4996 GB, free: 3.273 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3787, allocations: 0 / 0.4996 GB, free: 3.273 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.3787, allocations: 0 / 0.4996 GB, free: 3.273 MB / 414.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.000507/0.3793, allocations: 443.9 kB / 0.5001 GB, free: 2.793 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.3793, allocations: 12.03 kB / 0.5001 GB, free: 2.781 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.96e-05/0.3793, allocations: 34.75 kB / 0.5001 GB, free: 2.738 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004193/0.3798, allocations: 76.67 kB / 0.5002 GB, free: 2.664 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.3799, allocations: 196.2 kB / 0.5004 GB, free: 2.434 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.3799, allocations: 4.781 kB / 0.5004 GB, free: 2.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.38, allocations: 8 kB / 0.5004 GB, free: 2.422 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.3801, allocations: 76.2 kB / 0.5004 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.3801, allocations: 0 / 0.5004 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-06/0.3801, allocations: 0 / 0.5004 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3801, allocations: 4 kB / 0.5004 GB, free: 2.332 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.864e-05/0.3802, allocations: 39.97 kB / 0.5005 GB, free: 2.293 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.3804, allocations: 194.5 kB / 0.5007 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.3807, allocations: 117.1 kB / 0.5008 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.69e-05/0.3808, allocations: 37.7 kB / 0.5008 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003878/0.3811, allocations: 137 kB / 0.5009 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.3812, allocations: 34.5 kB / 0.501 GB, free: 1.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.3812, allocations: 0 / 0.501 GB, free: 1.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003/0.3815, allocations: 117.5 kB / 0.5011 GB, free: 1.559 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.3815, allocations: 85.05 kB / 0.5012 GB, free: 1.457 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.3817, allocations: 137.8 kB / 0.5013 GB, free: 1.312 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.3817, allocations: 29.7 kB / 0.5013 GB, free: 1.277 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.656e-05/0.3817, allocations: 92.12 kB / 0.5014 GB, free: 1.184 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.3817, allocations: 23.66 kB / 0.5014 GB, free: 1.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.067e-05/0.3818, allocations: 9.719 kB / 0.5015 GB, free: 1.145 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.572e-05/0.3819, allocations: 322.8 kB / 0.5018 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.284e-05/0.3819, allocations: 23.98 kB / 0.5018 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.221e-05/0.382, allocations: 51.41 kB / 0.5018 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.3822, allocations: 87.28 kB / 0.5019 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3822, allocations: 3.938 kB / 0.5019 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000212/0.3824, allocations: 101.6 kB / 0.502 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3824, allocations: 4 kB / 0.502 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3824, allocations: 6.812 kB / 0.502 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.3824, allocations: 4.062 kB / 0.502 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.406e-05/0.3825, allocations: 19.92 kB / 0.502 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3825, allocations: 4 kB / 0.5021 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.334e-05/0.3826, allocations: 3.906 kB / 0.5021 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.3826, allocations: 4 kB / 0.5021 GB, free: 496 kB / 414.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.361e-05/0.3826, allocations: 121.7 kB / 0.5022 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.3827, allocations: 4 kB / 0.5022 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.3829, allocations: 119.8 kB / 0.5023 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3829, allocations: 0 / 0.5023 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.3829, allocations: 0 / 0.5023 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3829, allocations: 0 / 0.5023 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.3831, allocations: 197.4 kB / 0.5025 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3831, allocations: 0 / 0.5025 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.095e-05/0.3832, allocations: 12.55 kB / 0.5025 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3832, allocations: 0 / 0.5025 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.3832, allocations: 4 kB / 0.5025 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3832, allocations: 3.938 kB / 0.5025 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3832, allocations: 0 / 0.5025 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.3835, allocations: 165.8 kB / 0.5027 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.348e-05/0.3836, allocations: 97.09 kB / 0.5028 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.3836, allocations: 2.938 kB / 0.5028 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.108e-05/0.3836, allocations: 4 kB / 0.5028 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/0.3837, allocations: 3.984 kB / 0.5028 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.3837, allocations: 16 kB / 0.5028 GB, free: 15.65 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.641e-05/0.3837, allocations: 107.7 kB / 0.5029 GB, free: 15.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3837, allocations: 0 / 0.5029 GB, free: 15.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004015/0.3842, allocations: 167.8 kB / 0.503 GB, free: 15.38 MB / 430.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.001294/0.3855, allocations: 1.017 MB / 0.504 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.3856, allocations: 67.89 kB / 0.5041 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3856, allocations: 0 / 0.5041 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.535e-05/0.3857, allocations: 31.92 kB / 0.5041 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.3859, allocations: 15.98 kB / 0.5041 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.3876, allocations: 1.788 MB / 0.5059 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.3878, allocations: 0.6926 MB / 0.5066 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.723e-05/0.3879, allocations: 28.08 kB / 0.5066 GB, free: 11.58 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.3879, allocations: 27.38 kB / 0.5066 GB, free: 11.55 MB / 430.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3879, allocations: 0 / 0.5066 GB, free: 11.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01561/0.4035, allocations: 5.891 MB / 0.5124 GB, free: 5.82 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/0.4038, allocations: 253.3 kB / 0.5126 GB, free: 5.562 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.224, allocations: 0 / 0.5126 GB, free: 5.562 MB / 430.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