Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0007998/0.0007998, allocations: 87.67 kB / 21.43 MB, free: 3.117 MB / 18.57 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.003086/0.003086, allocations: 154.1 kB / 24.69 MB, free: 8.906 MB / 18.57 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 0.8573/0.8573, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.457e-05/1.606e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001543/0.001559, allocations: 1.338 MB / 299.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.2601/0.2617, allocations: 129.2 MB / 429 MB, free: 11.9 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.318e-05/0.2617, allocations: 0 / 429 MB, free: 11.9 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.643e-05/0.2618, allocations: 7.922 kB / 429 MB, free: 11.89 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008464/0.2626, allocations: 238.7 kB / 429.2 MB, free: 11.66 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.2639, allocations: 0.648 MB / 429.9 MB, free: 11.01 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.264, allocations: 55.66 kB / 429.9 MB, free: 10.95 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.668e-05/0.2641, allocations: 4 kB / 429.9 MB, free: 10.95 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.52e-05/0.2641, allocations: 35.89 kB / 429.9 MB, free: 10.91 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.866e-05/0.2642, allocations: 23.97 kB / 430 MB, free: 10.89 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.2642, allocations: 4 kB / 430 MB, free: 10.89 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009587/0.2652, allocations: 0.7716 MB / 430.7 MB, free: 10.11 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.2652, allocations: 4 kB / 430.8 MB, free: 10.11 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.2652, allocations: 23.91 kB / 430.8 MB, free: 10.09 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007279/0.266, allocations: 0.6703 MB / 431.4 MB, free: 9.414 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.266, allocations: 0 / 431.4 MB, free: 9.414 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.266, allocations: 0 / 431.4 MB, free: 9.414 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.266, allocations: 0 / 431.4 MB, free: 9.414 MB / 394.7 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.0006085/0.2666, allocations: 377.9 kB / 431.8 MB, free: 9.016 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.2666, allocations: 17.3 kB / 431.8 MB, free: 9 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.117e-05/0.2667, allocations: 38.75 kB / 431.9 MB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005627/0.2672, allocations: 108.7 kB / 432 MB, free: 8.848 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.2674, allocations: 157.7 kB / 432.1 MB, free: 8.668 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.2674, allocations: 4.375 kB / 432.1 MB, free: 8.664 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.2674, allocations: 4.375 kB / 432.1 MB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.2676, allocations: 91.27 kB / 432.2 MB, free: 8.559 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2676, allocations: 7.938 kB / 432.2 MB, free: 8.551 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.2676, allocations: 4 kB / 432.2 MB, free: 8.547 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2676, allocations: 4 kB / 432.2 MB, free: 8.543 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.82e-05/0.2677, allocations: 43.89 kB / 432.3 MB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001842/0.2679, allocations: 177.8 kB / 432.5 MB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.2682, allocations: 125.1 kB / 432.6 MB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.039e-05/0.2683, allocations: 33.7 kB / 432.6 MB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001755/0.2684, allocations: 102.2 kB / 432.7 MB, free: 8.004 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.2685, allocations: 34.55 kB / 432.7 MB, free: 7.961 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.2685, allocations: 0 / 432.7 MB, free: 7.961 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003037/0.2688, allocations: 133.9 kB / 432.9 MB, free: 7.824 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.2688, allocations: 81.09 kB / 433 MB, free: 7.727 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.2689, allocations: 151.8 kB / 433.1 MB, free: 7.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.269, allocations: 29.7 kB / 433.1 MB, free: 7.535 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.973e-05/0.269, allocations: 84.14 kB / 433.2 MB, free: 7.449 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.269, allocations: 31.73 kB / 433.2 MB, free: 7.418 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.2691, allocations: 29.7 kB / 433.3 MB, free: 7.383 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.201e-05/0.2691, allocations: 318.8 kB / 433.6 MB, free: 7.062 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.068e-05/0.2692, allocations: 31.97 kB / 433.6 MB, free: 7.031 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.754e-05/0.2693, allocations: 51.34 kB / 433.7 MB, free: 6.969 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.2694, allocations: 79.41 kB / 433.7 MB, free: 6.879 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-05/0.2694, allocations: 0.625 kB / 433.7 MB, free: 6.879 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002548/0.2697, allocations: 129.4 kB / 433.9 MB, free: 6.746 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.2697, allocations: 8 kB / 433.9 MB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2697, allocations: 0 / 433.9 MB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.2697, allocations: 3.938 kB / 433.9 MB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.288e-05/0.2698, allocations: 23.97 kB / 433.9 MB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.2698, allocations: 0 / 433.9 MB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.628e-05/0.2699, allocations: 15.45 kB / 433.9 MB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.2699, allocations: 7.984 kB / 433.9 MB, free: 6.691 MB / 394.7 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 7.417e-05/0.27, allocations: 121.8 kB / 434.1 MB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.27, allocations: 7.938 kB / 434.1 MB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004256/0.2704, allocations: 251.5 kB / 434.3 MB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.2704, allocations: 0 / 434.3 MB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.2704, allocations: 4 kB / 434.3 MB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2704, allocations: 3.938 kB / 434.3 MB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.2706, allocations: 182.1 kB / 434.5 MB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2706, allocations: 4 kB / 434.5 MB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.884e-05/0.2707, allocations: 27.91 kB / 434.5 MB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2707, allocations: 0 / 434.5 MB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.2707, allocations: 7.984 kB / 434.5 MB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2707, allocations: 0 / 434.5 MB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2707, allocations: 0 / 434.5 MB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.2709, allocations: 169.8 kB / 434.7 MB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.271, allocations: 19.94 kB / 434.7 MB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.271, allocations: 4 kB / 434.7 MB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.275e-05/0.2711, allocations: 12.06 kB / 434.7 MB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.2711, allocations: 3.984 kB / 434.7 MB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.2711, allocations: 7.984 kB / 434.7 MB, free: 5.805 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.388e-05/0.2712, allocations: 137.3 kB / 434.9 MB, free: 5.672 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2712, allocations: 0 / 434.9 MB, free: 5.672 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003668/0.2716, allocations: 171.5 kB / 435 MB, free: 5.504 MB / 394.7 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.0009841/0.2726, allocations: 1.031 MB / 436.1 MB, free: 4.445 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.2727, allocations: 75.88 kB / 436.1 MB, free: 4.371 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2727, allocations: 0 / 436.1 MB, free: 4.371 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.332e-05/0.2728, allocations: 35.97 kB / 436.2 MB, free: 4.336 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.273, allocations: 17.28 kB / 436.2 MB, free: 4.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.2747, allocations: 1.772 MB / 438 MB, free: 2.441 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.803e-05/0.2748, allocations: 75.33 kB / 438 MB, free: 2.348 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003617/0.2751, allocations: 431.1 kB / 438.5 MB, free: 1.926 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.2752, allocations: 40.45 kB / 438.5 MB, free: 1.887 MB / 394.7 MB Notification: Performance of SimCode: time 8.41e-07/0.2752, allocations: 4 kB / 438.5 MB, free: 1.883 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.2969, allocations: 8.616 MB / 447.1 MB, free: 9.203 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.059/7.356, allocations: 15.89 kB / 447.1 MB, free: 9.188 MB / 410.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 9.056112559512258]