Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.001731/0.001731, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002144/0.002144, allocations: 209.7 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_T,fileNamePrefix="Modelica_4_1_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_1_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.001753/0.001753, allocations: 43.94 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2686, allocations: 53.37 MB / 431.1 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002664/0.2713, allocations: 1.354 MB / 432.4 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3986/0.6699, allocations: 130.6 MB / 0.5498 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.426e-05/0.6699, allocations: 0 / 0.5498 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.969e-05/0.6699, allocations: 5.906 kB / 0.5499 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008215/0.6708, allocations: 241.2 kB / 0.5501 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009288/0.6717, allocations: 410.3 kB / 0.5505 GB, free: 1.258 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.725e-05/0.6718, allocations: 60.27 kB / 0.5505 GB, free: 1.258 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.336e-05/0.6718, allocations: 3.312 kB / 0.5505 GB, free: 1.258 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.192e-05/0.6718, allocations: 29.56 kB / 0.5506 GB, free: 1.258 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.6719, allocations: 28.78 kB / 0.5506 GB, free: 1.258 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.6719, allocations: 3.031 kB / 0.5506 GB, free: 1.258 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008929/0.6728, allocations: 0.5719 MB / 0.5512 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.6728, allocations: 4.531 kB / 0.5512 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.6729, allocations: 23.41 kB / 0.5512 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005874/0.6735, allocations: 479.1 kB / 0.5516 GB, free: 1.227 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.6735, allocations: 0.9688 kB / 0.5516 GB, free: 1.227 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.6735, allocations: 0 / 0.5516 GB, free: 1.227 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.6735, allocations: 1.094 kB / 0.5516 GB, free: 1.227 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.0005443/0.674, allocations: 358.8 kB / 0.552 GB, free: 16.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.674, allocations: 12 kB / 0.552 GB, free: 16.91 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.342e-05/0.6741, allocations: 30.75 kB / 0.552 GB, free: 16.88 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.6753, allocations: 112.2 kB / 0.5521 GB, free: 16.88 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.6755, allocations: 167.8 kB / 0.5523 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.6755, allocations: 3.5 kB / 0.5523 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.6756, allocations: 3.688 kB / 0.5523 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.6758, allocations: 91.67 kB / 0.5524 GB, free: 16.69 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.6758, allocations: 0 / 0.5524 GB, free: 16.69 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.6758, allocations: 3.219 kB / 0.5524 GB, free: 16.69 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.6758, allocations: 6.109 kB / 0.5524 GB, free: 16.69 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.6759, allocations: 47.33 kB / 0.5524 GB, free: 16.69 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.6761, allocations: 173.1 kB / 0.5526 GB, free: 16.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004156/0.6765, allocations: 121.4 kB / 0.5527 GB, free: 16.47 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.767e-05/0.6766, allocations: 40.27 kB / 0.5528 GB, free: 16.46 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002088/0.6768, allocations: 93.03 kB / 0.5528 GB, free: 16.45 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.6769, allocations: 34.19 kB / 0.5529 GB, free: 16.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.6769, allocations: 1.094 kB / 0.5529 GB, free: 16.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004381/0.6773, allocations: 136.6 kB / 0.553 GB, free: 16.38 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.6774, allocations: 79.11 kB / 0.5531 GB, free: 16.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.6776, allocations: 157.2 kB / 0.5532 GB, free: 16.19 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.6776, allocations: 26.8 kB / 0.5533 GB, free: 16.16 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.64e-05/0.6776, allocations: 86.86 kB / 0.5533 GB, free: 16.07 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.6777, allocations: 27.36 kB / 0.5534 GB, free: 16.06 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.6777, allocations: 28.12 kB / 0.5534 GB, free: 16.04 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.6779, allocations: 320.8 kB / 0.5537 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.688e-05/0.678, allocations: 27.55 kB / 0.5537 GB, free: 15.73 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.728e-05/0.6781, allocations: 52.06 kB / 0.5538 GB, free: 15.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.6783, allocations: 86.03 kB / 0.5539 GB, free: 15.66 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.6783, allocations: 0 / 0.5539 GB, free: 15.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000301/0.6786, allocations: 121.5 kB / 0.554 GB, free: 15.63 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.6786, allocations: 8.344 kB / 0.554 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.6786, allocations: 0 / 0.554 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.6786, allocations: 5.156 kB / 0.554 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.6787, allocations: 31.47 kB / 0.554 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.6788, allocations: 2.656 kB / 0.554 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.6789, allocations: 9.562 kB / 0.554 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.679, allocations: 10.39 kB / 0.554 GB, free: 15.62 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 0.0001061/0.6791, allocations: 112.3 kB / 0.5541 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.6791, allocations: 13.67 kB / 0.5542 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005625/0.6797, allocations: 255 kB / 0.5544 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.6797, allocations: 2.141 kB / 0.5544 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.6797, allocations: 2.188 kB / 0.5544 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.6797, allocations: 0 / 0.5544 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.6799, allocations: 187.8 kB / 0.5546 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.6799, allocations: 0 / 0.5546 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.68, allocations: 27.03 kB / 0.5546 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.68, allocations: 0.9375 kB / 0.5546 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.6801, allocations: 12.38 kB / 0.5546 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.6801, allocations: 0 / 0.5546 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6801, allocations: 0.875 kB / 0.5546 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.6805, allocations: 178 kB / 0.5548 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.6805, allocations: 15.02 kB / 0.5548 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.6805, allocations: 7.078 kB / 0.5548 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.6807, allocations: 6.281 kB / 0.5548 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.6807, allocations: 9.469 kB / 0.5548 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.6807, allocations: 0 / 0.5548 GB, free: 15.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001661/0.6809, allocations: 132.8 kB / 0.555 GB, free: 15.13 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6809, allocations: 0 / 0.555 GB, free: 15.13 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004796/0.6814, allocations: 134.8 kB / 0.5551 GB, free: 15.11 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.00114/0.6825, allocations: 0.9154 MB / 0.556 GB, free: 14.47 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.6828, allocations: 81.59 kB / 0.5561 GB, free: 14.47 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6828, allocations: 0 / 0.5561 GB, free: 14.47 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.6829, allocations: 42.59 kB / 0.5561 GB, free: 14.47 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.6831, allocations: 13.88 kB / 0.5561 GB, free: 14.47 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.6855, allocations: 1.791 MB / 0.5579 GB, free: 13.24 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.87e-05/0.6856, allocations: 73.84 kB / 0.5579 GB, free: 13.17 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004623/0.6861, allocations: 432.5 kB / 0.5583 GB, free: 13.13 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.6862, allocations: 45.95 kB / 0.5584 GB, free: 13.12 MB / 462.1 MB Notification: Performance of SimCode: time 4.7e-07/0.6862, allocations: 0 / 0.5584 GB, free: 13.12 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03527/0.7215, allocations: 7.395 MB / 0.5656 GB, free: 11.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/12.05, allocations: 9.469 kB / 0.5656 GB, free: 11.66 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 14.676684501115233]