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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 108.5 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002649/0.002649, allocations: 60.44 kB / 347.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2777, allocations: 49.16 MB / 396.3 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00232/0.28, allocations: 1.374 MB / 397.7 MB, free: 8.012 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1858/0.4659, allocations: 151.3 MB / 0.5361 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.587e-05/0.466, allocations: 0 / 0.5361 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 5.041e-05/0.466, allocations: 3.938 kB / 0.5361 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.4675, allocations: 374.1 kB / 0.5365 GB, free: 9.797 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002301/0.4698, allocations: 0.8264 MB / 0.5373 GB, free: 8.973 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.47, allocations: 67.7 kB / 0.5373 GB, free: 8.906 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.47, allocations: 4 kB / 0.5374 GB, free: 8.902 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.069e-05/0.4701, allocations: 35.84 kB / 0.5374 GB, free: 8.867 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.4702, allocations: 35.84 kB / 0.5374 GB, free: 8.832 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.4702, allocations: 0 / 0.5374 GB, free: 8.832 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/0.4731, allocations: 1.489 MB / 0.5389 GB, free: 7.34 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.181e-05/0.4732, allocations: 11.92 kB / 0.5389 GB, free: 7.328 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.507e-05/0.4732, allocations: 35.78 kB / 0.5389 GB, free: 7.293 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.4748, allocations: 0.8534 MB / 0.5398 GB, free: 6.438 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.4748, allocations: 0 / 0.5398 GB, free: 6.438 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4748, allocations: 0 / 0.5398 GB, free: 6.438 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.4748, allocations: 0 / 0.5398 GB, free: 6.438 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.0006663/0.4755, allocations: 416.9 kB / 0.5401 GB, free: 6 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4755, allocations: 11.98 kB / 0.5402 GB, free: 5.988 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.582e-05/0.4755, allocations: 34.75 kB / 0.5402 GB, free: 5.945 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002981/0.4758, allocations: 36.89 kB / 0.5402 GB, free: 5.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.476, allocations: 142.3 kB / 0.5404 GB, free: 5.746 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.476, allocations: 12.12 kB / 0.5404 GB, free: 5.734 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.4761, allocations: 4 kB / 0.5404 GB, free: 5.73 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.4762, allocations: 67.39 kB / 0.5404 GB, free: 5.652 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.4762, allocations: 3.984 kB / 0.5404 GB, free: 5.648 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.026e-06/0.4762, allocations: 0 / 0.5404 GB, free: 5.648 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4763, allocations: 3.938 kB / 0.5405 GB, free: 5.645 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.4764, allocations: 47.91 kB / 0.5405 GB, free: 5.598 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002366/0.4766, allocations: 165.6 kB / 0.5407 GB, free: 5.391 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.4769, allocations: 117.1 kB / 0.5408 GB, free: 5.258 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.771e-05/0.477, allocations: 37.77 kB / 0.5408 GB, free: 5.215 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005281/0.4776, allocations: 63.88 kB / 0.5409 GB, free: 5.152 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.4776, allocations: 34.56 kB / 0.5409 GB, free: 5.109 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.4776, allocations: 0 / 0.5409 GB, free: 5.109 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003842/0.478, allocations: 117.6 kB / 0.541 GB, free: 4.988 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.478, allocations: 81.09 kB / 0.5411 GB, free: 4.891 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.4782, allocations: 141.8 kB / 0.5412 GB, free: 4.742 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.4782, allocations: 25.7 kB / 0.5412 GB, free: 4.711 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/0.4782, allocations: 84.14 kB / 0.5413 GB, free: 4.625 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.4783, allocations: 31.73 kB / 0.5414 GB, free: 4.594 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.009e-05/0.4783, allocations: 21.72 kB / 0.5414 GB, free: 4.566 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4785, allocations: 322.8 kB / 0.5417 GB, free: 4.242 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.234e-05/0.4786, allocations: 23.98 kB / 0.5417 GB, free: 4.219 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-05/0.4787, allocations: 47.45 kB / 0.5418 GB, free: 4.16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.4788, allocations: 83.34 kB / 0.5418 GB, free: 4.066 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.4788, allocations: 3.938 kB / 0.5418 GB, free: 4.062 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002581/0.4791, allocations: 114 kB / 0.5419 GB, free: 3.945 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4791, allocations: 4 kB / 0.5419 GB, free: 3.941 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.4791, allocations: 0 / 0.5419 GB, free: 3.941 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.4791, allocations: 7.984 kB / 0.542 GB, free: 3.934 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.241e-05/0.4792, allocations: 19.94 kB / 0.542 GB, free: 3.914 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4792, allocations: 0 / 0.542 GB, free: 3.914 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.686e-05/0.4792, allocations: 4 kB / 0.542 GB, free: 3.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-06/0.4793, allocations: 8.047 kB / 0.542 GB, free: 3.902 MB / 462.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.644e-05/0.4794, allocations: 117.8 kB / 0.5421 GB, free: 3.777 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.4794, allocations: 7.953 kB / 0.5421 GB, free: 3.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/0.4797, allocations: 117.9 kB / 0.5422 GB, free: 3.648 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4797, allocations: 0 / 0.5422 GB, free: 3.648 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4797, allocations: 4 kB / 0.5422 GB, free: 3.645 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.4797, allocations: 3.938 kB / 0.5422 GB, free: 3.641 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.4799, allocations: 164.6 kB / 0.5424 GB, free: 3.438 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.4799, allocations: 4 kB / 0.5424 GB, free: 3.434 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.034e-05/0.4799, allocations: 15.94 kB / 0.5424 GB, free: 3.418 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.4799, allocations: 3.984 kB / 0.5424 GB, free: 3.414 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.48, allocations: 0 / 0.5424 GB, free: 3.414 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.48, allocations: 4 kB / 0.5424 GB, free: 3.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.48, allocations: 0 / 0.5424 GB, free: 3.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003667/0.4803, allocations: 165.8 kB / 0.5426 GB, free: 3.227 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/0.4804, allocations: 15.97 kB / 0.5426 GB, free: 3.211 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.4804, allocations: 4 kB / 0.5426 GB, free: 3.207 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.107e-05/0.4804, allocations: 0 / 0.5426 GB, free: 3.207 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.4805, allocations: 11.92 kB / 0.5426 GB, free: 3.195 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.4805, allocations: 0 / 0.5426 GB, free: 3.195 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.618e-05/0.4806, allocations: 115.2 kB / 0.5427 GB, free: 3.082 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4806, allocations: 0 / 0.5427 GB, free: 3.082 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006476/0.4812, allocations: 203.3 kB / 0.5429 GB, free: 2.883 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.00176/0.483, allocations: 1.12 MB / 0.544 GB, free: 1.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.4832, allocations: 59.95 kB / 0.5441 GB, free: 1.672 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4832, allocations: 4.125 kB / 0.5441 GB, free: 1.668 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.534e-05/0.4833, allocations: 31.92 kB / 0.5441 GB, free: 1.637 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.4835, allocations: 28.23 kB / 0.5441 GB, free: 1.609 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.4857, allocations: 1.757 MB / 0.5458 GB, free: 15.74 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.486, allocations: 0.6924 MB / 0.5465 GB, free: 15.02 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 6.161e-05/0.4861, allocations: 20.31 kB / 0.5465 GB, free: 15 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.385e-05/0.4861, allocations: 23.42 kB / 0.5465 GB, free: 14.98 MB / 478.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4861, allocations: 0 / 0.5465 GB, free: 14.98 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03906/0.5252, allocations: 7.9 MB / 0.5543 GB, free: 7.031 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.72, allocations: 12.06 kB / 0.5543 GB, free: 7.02 MB / 478.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.csv","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.42527010699996]