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.0008646/0.0008646, allocations: 83.64 kB / 21.43 MB, free: 3.137 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.003227/0.003227, allocations: 161.5 kB / 24.69 MB, free: 9.422 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.9415/0.9415, allocations: 158.6 MB / 186.5 MB, free: 3.047 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_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: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/3.042e-05, allocations: 2.281 kB / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001997/0.002028, allocations: 1.342 MB / 299.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.2477/0.2498, allocations: 129.6 MB / 429.3 MB, free: 11.52 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.257e-05/0.2498, allocations: 4 kB / 429.3 MB, free: 11.51 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.957e-05/0.2499, allocations: 0 / 429.3 MB, free: 11.51 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001088/0.2509, allocations: 370.2 kB / 429.7 MB, free: 11.15 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.2526, allocations: 0.8302 MB / 430.5 MB, free: 10.32 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.2527, allocations: 75.58 kB / 430.6 MB, free: 10.24 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.2528, allocations: 7.984 kB / 430.6 MB, free: 10.23 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.011e-05/0.2528, allocations: 39.91 kB / 430.7 MB, free: 10.2 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.187e-05/0.2529, allocations: 27.89 kB / 430.7 MB, free: 10.17 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.2529, allocations: 4 kB / 430.7 MB, free: 10.16 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.2548, allocations: 1.196 MB / 431.9 MB, free: 8.965 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.653e-05/0.2549, allocations: 15.92 kB / 431.9 MB, free: 8.949 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.052e-05/0.2549, allocations: 23.92 kB / 431.9 MB, free: 8.926 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.2563, allocations: 0.9351 MB / 432.9 MB, free: 7.988 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.2563, allocations: 0 / 432.9 MB, free: 7.988 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2563, allocations: 0 / 432.9 MB, free: 7.988 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.2563, allocations: 0 / 432.9 MB, free: 7.988 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.000571/0.2569, allocations: 405.1 kB / 433.3 MB, free: 7.562 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.2569, allocations: 13.67 kB / 433.3 MB, free: 7.551 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.324e-05/0.2569, allocations: 34.75 kB / 433.3 MB, free: 7.508 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/0.2572, allocations: 52.77 kB / 433.4 MB, free: 7.457 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.2573, allocations: 135.1 kB / 433.5 MB, free: 7.301 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.2573, allocations: 384 / 433.5 MB, free: 7.301 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.2573, allocations: 8.375 kB / 433.5 MB, free: 7.293 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.2575, allocations: 75.64 kB / 433.6 MB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.423e-06/0.2575, allocations: 0 / 433.6 MB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.2575, allocations: 0 / 433.6 MB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2575, allocations: 4 kB / 433.6 MB, free: 7.203 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.144e-05/0.2576, allocations: 43.95 kB / 433.6 MB, free: 7.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.2577, allocations: 157.7 kB / 433.8 MB, free: 6.961 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.258, allocations: 121.1 kB / 433.9 MB, free: 6.824 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.415e-05/0.258, allocations: 29.77 kB / 433.9 MB, free: 6.789 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003486/0.2584, allocations: 67.92 kB / 434 MB, free: 6.723 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.2584, allocations: 34.5 kB / 434 MB, free: 6.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.2584, allocations: 1.312 kB / 434 MB, free: 6.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.000252/0.2586, allocations: 121.6 kB / 434.1 MB, free: 6.555 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.2587, allocations: 77.11 kB / 434.2 MB, free: 6.461 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.64e-05/0.2588, allocations: 141.8 kB / 434.4 MB, free: 6.312 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.2588, allocations: 25.7 kB / 434.4 MB, free: 6.281 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.999e-05/0.2588, allocations: 84.14 kB / 434.5 MB, free: 6.195 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.2588, allocations: 35.67 kB / 434.5 MB, free: 6.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.2589, allocations: 25.72 kB / 434.5 MB, free: 6.129 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.673e-05/0.259, allocations: 318.8 kB / 434.8 MB, free: 5.809 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.688e-05/0.259, allocations: 27.98 kB / 434.9 MB, free: 5.781 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.692e-05/0.2591, allocations: 47.42 kB / 434.9 MB, free: 5.723 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.042e-05/0.2591, allocations: 79.34 kB / 435 MB, free: 5.633 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2591, allocations: 0 / 435 MB, free: 5.633 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001449/0.2593, allocations: 105.6 kB / 435.1 MB, free: 5.523 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.2593, allocations: 19.86 kB / 435.1 MB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2593, allocations: 4 kB / 435.1 MB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.2593, allocations: 3.938 kB / 435.1 MB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.761e-05/0.2594, allocations: 12.62 kB / 435.1 MB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.2594, allocations: 7.938 kB / 435.1 MB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.724e-05/0.2594, allocations: 0 / 435.1 MB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.2594, allocations: 11.98 kB / 435.1 MB, free: 5.465 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 6.704e-05/0.2595, allocations: 113.8 kB / 435.3 MB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.2595, allocations: 11.89 kB / 435.3 MB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.2597, allocations: 120.6 kB / 435.4 MB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2597, allocations: 3.438 kB / 435.4 MB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.2597, allocations: 96 / 435.4 MB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.2597, allocations: 7.969 kB / 435.4 MB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.2598, allocations: 152.7 kB / 435.5 MB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2598, allocations: 0 / 435.5 MB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.178e-05/0.2599, allocations: 11.98 kB / 435.6 MB, free: 5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2599, allocations: 7.938 kB / 435.6 MB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.2599, allocations: 0 / 435.6 MB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2599, allocations: 0.625 kB / 435.6 MB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2599, allocations: 4 kB / 435.6 MB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.2601, allocations: 161.8 kB / 435.7 MB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.2601, allocations: 15.97 kB / 435.7 MB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.2602, allocations: 7.938 kB / 435.7 MB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.072e-05/0.2602, allocations: 0 / 435.7 MB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.2602, allocations: 7.984 kB / 435.8 MB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.2602, allocations: 0 / 435.8 MB, free: 4.777 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.705e-05/0.2603, allocations: 119.2 kB / 435.9 MB, free: 4.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2603, allocations: 0 / 435.9 MB, free: 4.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005927/0.2609, allocations: 207.3 kB / 436.1 MB, free: 4.457 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 (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.001326/0.2622, allocations: 1.133 MB / 437.2 MB, free: 3.297 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001566/0.2624, allocations: 59.91 kB / 437.3 MB, free: 3.238 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2624, allocations: 0 / 437.3 MB, free: 3.238 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.14e-05/0.2624, allocations: 35.91 kB / 437.3 MB, free: 3.203 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.2626, allocations: 30.3 kB / 437.3 MB, free: 3.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.2642, allocations: 1.725 MB / 439.1 MB, free: 1.348 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.928e-05/0.2643, allocations: 75.52 kB / 439.1 MB, free: 1.254 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.989e-05/0.2643, allocations: 23.98 kB / 439.2 MB, free: 1.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.155e-05/0.2644, allocations: 28.48 kB / 439.2 MB, free: 1.203 MB / 394.7 MB Notification: Performance of SimCode: time 1.282e-06/0.2644, allocations: 0 / 439.2 MB, free: 1.203 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02563/0.29, allocations: 8.613 MB / 447.8 MB, free: 8.531 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.092/7.382, allocations: 19.77 kB / 447.8 MB, free: 8.512 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/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/jenkins/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: 9.269943340681493]