Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 123 kB / 17.78 MB, free: 5.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00211/0.00211, allocations: 197.2 kB / 20.73 MB, free: 2.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 249.1 MB, free: 3.59 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 51.92 kB / 365.6 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09649/0.09799, allocations: 52.14 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002514/0.1005, allocations: 1.365 MB / 419.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3663/0.4668, allocations: 149.2 MB / 0.555 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.462e-05/0.4668, allocations: 0 / 0.555 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.118e-05/0.4669, allocations: 7.922 kB / 0.555 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008767/0.4677, allocations: 239.1 kB / 0.5552 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.4687, allocations: 398 kB / 0.5556 GB, free: 15.08 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.4688, allocations: 63.72 kB / 0.5557 GB, free: 15.02 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.234e-05/0.4689, allocations: 0 / 0.5557 GB, free: 15.02 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.443e-05/0.4689, allocations: 19.92 kB / 0.5557 GB, free: 15 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.704e-05/0.469, allocations: 31.91 kB / 0.5557 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.469, allocations: 0 / 0.5557 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.4703, allocations: 0.6862 MB / 0.5564 GB, free: 14.28 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.4703, allocations: 19.84 kB / 0.5564 GB, free: 14.26 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.4703, allocations: 15.94 kB / 0.5564 GB, free: 14.24 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008122/0.4711, allocations: 499.4 kB / 0.5569 GB, free: 13.76 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4711, allocations: 4 kB / 0.5569 GB, free: 13.75 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4711, allocations: 0 / 0.5569 GB, free: 13.75 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.4711, allocations: 0 / 0.5569 GB, free: 13.75 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.0006038/0.4717, allocations: 430.6 kB / 0.5573 GB, free: 13.29 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.4718, allocations: 8.031 kB / 0.5573 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.176e-05/0.4718, allocations: 38.73 kB / 0.5574 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.4729, allocations: 96.75 kB / 0.5575 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.4732, allocations: 223.8 kB / 0.5577 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.4732, allocations: 4 kB / 0.5577 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.4733, allocations: 3.953 kB / 0.5577 GB, free: 12.87 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.4735, allocations: 91.33 kB / 0.5578 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.4735, allocations: 0 / 0.5578 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.4735, allocations: 1.781 kB / 0.5578 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.4735, allocations: 8 kB / 0.5578 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.4737, allocations: 43.89 kB / 0.5578 GB, free: 12.72 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002797/0.474, allocations: 210.9 kB / 0.558 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000501/0.4745, allocations: 121.1 kB / 0.5581 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.4746, allocations: 41.7 kB / 0.5582 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007819/0.4754, allocations: 0.9901 MB / 0.5591 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.4754, allocations: 30.56 kB / 0.5592 GB, free: 11.03 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.4754, allocations: 0 / 0.5592 GB, free: 11.03 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005243/0.476, allocations: 133.5 kB / 0.5593 GB, free: 10.89 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.476, allocations: 85.11 kB / 0.5594 GB, free: 10.79 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.4763, allocations: 153.8 kB / 0.5595 GB, free: 10.63 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.4763, allocations: 25.7 kB / 0.5595 GB, free: 10.6 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.4763, allocations: 84.14 kB / 0.5596 GB, free: 10.51 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/0.4764, allocations: 23.84 kB / 0.5596 GB, free: 10.49 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.02e-05/0.4765, allocations: 25.7 kB / 0.5597 GB, free: 10.46 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4766, allocations: 322.8 kB / 0.56 GB, free: 10.13 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.4767, allocations: 31.97 kB / 0.56 GB, free: 10.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.4768, allocations: 47.42 kB / 0.5601 GB, free: 10.04 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.4771, allocations: 99.19 kB / 0.5602 GB, free: 9.938 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4771, allocations: 4 kB / 0.5602 GB, free: 9.934 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003652/0.4775, allocations: 121.5 kB / 0.5603 GB, free: 9.809 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.4775, allocations: 4 kB / 0.5603 GB, free: 9.805 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4775, allocations: 4 kB / 0.5603 GB, free: 9.801 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.4775, allocations: 0 / 0.5603 GB, free: 9.801 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.4776, allocations: 23.97 kB / 0.5603 GB, free: 9.777 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.4777, allocations: 0 / 0.5603 GB, free: 9.777 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.4778, allocations: 15.89 kB / 0.5603 GB, free: 9.762 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.4779, allocations: 12.55 kB / 0.5603 GB, free: 9.75 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.882e-05/0.478, allocations: 121.7 kB / 0.5604 GB, free: 9.621 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.478, allocations: 0 / 0.5604 GB, free: 9.621 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000642/0.4786, allocations: 245.5 kB / 0.5607 GB, free: 9.383 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.4787, allocations: 4 kB / 0.5607 GB, free: 9.379 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4787, allocations: 0 / 0.5607 GB, free: 9.379 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.4787, allocations: 0 / 0.5607 GB, free: 9.379 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.4789, allocations: 218.7 kB / 0.5609 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.4789, allocations: 0 / 0.5609 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.4791, allocations: 24.66 kB / 0.5609 GB, free: 9.094 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.4791, allocations: 4 kB / 0.5609 GB, free: 9.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.4791, allocations: 0 / 0.5609 GB, free: 9.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4791, allocations: 0 / 0.5609 GB, free: 9.09 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/0.4791, allocations: 3.938 kB / 0.5609 GB, free: 9.086 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004511/0.4796, allocations: 185.3 kB / 0.5611 GB, free: 8.887 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.203e-05/0.4797, allocations: 93.02 kB / 0.5612 GB, free: 8.777 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.4797, allocations: 7.984 kB / 0.5612 GB, free: 8.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.4799, allocations: 4 kB / 0.5612 GB, free: 8.766 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.4799, allocations: 15.98 kB / 0.5612 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.4799, allocations: 5 kB / 0.5612 GB, free: 8.746 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001773/0.4801, allocations: 127.2 kB / 0.5613 GB, free: 8.621 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4801, allocations: 0 / 0.5613 GB, free: 8.621 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005213/0.4806, allocations: 131.6 kB / 0.5615 GB, free: 8.492 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001437/0.4821, allocations: 0.9328 MB / 0.5624 GB, free: 7.535 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003205/0.4824, allocations: 79.81 kB / 0.5625 GB, free: 7.461 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4824, allocations: 128 / 0.5625 GB, free: 7.461 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.4825, allocations: 39.97 kB / 0.5625 GB, free: 7.422 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.4828, allocations: 12 kB / 0.5625 GB, free: 7.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/0.4856, allocations: 1.79 MB / 0.5643 GB, free: 5.516 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.4859, allocations: 0.697 MB / 0.5649 GB, free: 4.793 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006042/0.4865, allocations: 429.1 kB / 0.5653 GB, free: 4.375 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.4867, allocations: 47.39 kB / 0.5654 GB, free: 4.328 MB / 462.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4867, allocations: 0 / 0.5654 GB, free: 4.328 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03247/0.5191, allocations: 6.636 MB / 0.5719 GB, free: 13.82 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.34/8.859, allocations: 1.172 kB / 0.5719 GB, free: 13.82 MB / 478.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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: 11.451868903823197]