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.0008196/0.0008196, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.003556/0.003556, allocations: 163.4 kB / 24.69 MB, free: 9.41 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.8758/0.8758, allocations: 158.6 MB / 186.5 MB, free: 3.027 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 1.373e-06/1.373e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.789e-05, allocations: 2.281 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001551/0.001569, allocations: 1.338 MB / 299.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.2276/0.2292, allocations: 129.6 MB / 429.3 MB, free: 11.39 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.156e-05/0.2293, allocations: 4 kB / 429.3 MB, free: 11.39 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 4.077e-05/0.2293, allocations: 7.922 kB / 429.3 MB, free: 11.38 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009707/0.2303, allocations: 362.2 kB / 429.7 MB, free: 11.03 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.2316, allocations: 0.8386 MB / 430.5 MB, free: 10.19 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.2317, allocations: 75.58 kB / 430.6 MB, free: 10.11 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.582e-05/0.2318, allocations: 4 kB / 430.6 MB, free: 10.11 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.412e-05/0.2318, allocations: 47.83 kB / 430.7 MB, free: 10.06 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.306e-05/0.2319, allocations: 27.91 kB / 430.7 MB, free: 10.04 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.2319, allocations: 0 / 430.7 MB, free: 10.04 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.2333, allocations: 1.196 MB / 431.9 MB, free: 8.836 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.035e-05/0.2334, allocations: 19.91 kB / 431.9 MB, free: 8.816 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.2334, allocations: 23.92 kB / 431.9 MB, free: 8.793 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000902/0.2343, allocations: 0.9313 MB / 432.9 MB, free: 7.859 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2343, allocations: 0 / 432.9 MB, free: 7.859 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2343, allocations: 0 / 432.9 MB, free: 7.859 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.2343, allocations: 0 / 432.9 MB, free: 7.859 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.0004574/0.2348, allocations: 405 kB / 433.3 MB, free: 7.434 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.2348, allocations: 17.3 kB / 433.3 MB, free: 7.418 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.687e-05/0.2348, allocations: 30.75 kB / 433.3 MB, free: 7.379 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001995/0.235, allocations: 48.81 kB / 433.3 MB, free: 7.332 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.2351, allocations: 137.7 kB / 433.5 MB, free: 7.172 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.2351, allocations: 384 / 433.5 MB, free: 7.172 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.2352, allocations: 4.375 kB / 433.5 MB, free: 7.168 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.2353, allocations: 79.64 kB / 433.6 MB, free: 7.078 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.2353, allocations: 4 kB / 433.6 MB, free: 7.074 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.2353, allocations: 0 / 433.6 MB, free: 7.074 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2353, allocations: 0 / 433.6 MB, free: 7.074 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.2356, allocations: 39.97 kB / 433.6 MB, free: 7.035 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.2357, allocations: 165.6 kB / 433.8 MB, free: 6.828 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.2359, allocations: 113.1 kB / 433.9 MB, free: 6.699 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.555e-05/0.236, allocations: 33.77 kB / 433.9 MB, free: 6.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003017/0.2363, allocations: 65.61 kB / 434 MB, free: 6.598 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.2363, allocations: 42.44 kB / 434 MB, free: 6.547 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.2363, allocations: 0 / 434 MB, free: 6.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002263/0.2365, allocations: 114 kB / 434.1 MB, free: 6.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.2366, allocations: 81.05 kB / 434.2 MB, free: 6.332 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.275e-05/0.2366, allocations: 144 kB / 434.3 MB, free: 6.184 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.2367, allocations: 25.7 kB / 434.4 MB, free: 6.152 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.109e-05/0.2367, allocations: 92.12 kB / 434.5 MB, free: 6.059 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.2367, allocations: 23.75 kB / 434.5 MB, free: 6.035 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.2367, allocations: 25.7 kB / 434.5 MB, free: 6.004 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.992e-05/0.2368, allocations: 322.8 kB / 434.8 MB, free: 5.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.853e-05/0.2369, allocations: 19.98 kB / 434.8 MB, free: 5.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.535e-05/0.2369, allocations: 51.41 kB / 434.9 MB, free: 5.598 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.243e-05/0.237, allocations: 83.34 kB / 435 MB, free: 5.504 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.237, allocations: 0 / 435 MB, free: 5.504 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001336/0.2371, allocations: 109.5 kB / 435.1 MB, free: 5.391 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.2371, allocations: 19.94 kB / 435.1 MB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.2371, allocations: 0 / 435.1 MB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.2372, allocations: 0 / 435.1 MB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.125e-05/0.2372, allocations: 20.55 kB / 435.1 MB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2372, allocations: 4 kB / 435.1 MB, free: 5.348 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.405e-05/0.2372, allocations: 0 / 435.1 MB, free: 5.348 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.2372, allocations: 8 kB / 435.1 MB, free: 5.34 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 4.982e-05/0.2373, allocations: 113.8 kB / 435.2 MB, free: 5.219 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.2373, allocations: 15.88 kB / 435.3 MB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.2375, allocations: 118 kB / 435.4 MB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2375, allocations: 3.438 kB / 435.4 MB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.2375, allocations: 4 kB / 435.4 MB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2375, allocations: 0 / 435.4 MB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.044e-05/0.2376, allocations: 152.7 kB / 435.5 MB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2376, allocations: 0 / 435.5 MB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.076e-05/0.2376, allocations: 12 kB / 435.5 MB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2376, allocations: 3.938 kB / 435.5 MB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.2376, allocations: 0 / 435.5 MB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.2376, allocations: 8.609 kB / 435.6 MB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2376, allocations: 3.938 kB / 435.6 MB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.2378, allocations: 161.9 kB / 435.7 MB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.657e-05/0.2378, allocations: 16.2 kB / 435.7 MB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.2378, allocations: 3.938 kB / 435.7 MB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.212e-05/0.2379, allocations: 0 / 435.7 MB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.2379, allocations: 11.97 kB / 435.8 MB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.2379, allocations: 4 kB / 435.8 MB, free: 4.645 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.743e-05/0.2379, allocations: 107.3 kB / 435.9 MB, free: 4.539 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2379, allocations: 0 / 435.9 MB, free: 4.539 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003539/0.2383, allocations: 211.3 kB / 436.1 MB, free: 4.332 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.001079/0.2394, allocations: 1.141 MB / 437.2 MB, free: 3.164 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.2395, allocations: 63.89 kB / 437.3 MB, free: 3.102 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.2395, allocations: 0 / 437.3 MB, free: 3.102 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.094e-05/0.2395, allocations: 35.86 kB / 437.3 MB, free: 3.066 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.2397, allocations: 30.33 kB / 437.3 MB, free: 3.043 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.2409, allocations: 1.717 MB / 439.1 MB, free: 1.219 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.513e-05/0.241, allocations: 75.52 kB / 439.1 MB, free: 1.125 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.512e-05/0.241, allocations: 23.98 kB / 439.1 MB, free: 1.102 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/0.241, allocations: 24.5 kB / 439.2 MB, free: 1.078 MB / 394.7 MB Notification: Performance of SimCode: time 2.9e-07/0.241, allocations: 3.938 kB / 439.2 MB, free: 1.074 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.2628, allocations: 8.617 MB / 447.8 MB, free: 8.398 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.65/6.913, allocations: 19.89 kB / 447.8 MB, free: 8.379 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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: 8.558971951715648]