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.0009441/0.0009441, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001039/0.001039, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 18.57 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 0.8861/0.8861, allocations: 177.1 MB / 205 MB, free: 5.277 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 0 / 273 MB, free: 1.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084e-05/1.186e-05, allocations: 2.312 kB / 273 MB, free: 1.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001772/0.001784, allocations: 1.419 MB / 274.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.2266/0.2284, allocations: 144.6 MB / 419 MB, free: 15.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.255e-05/0.2284, allocations: 0 / 419 MB, free: 15.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.637e-05/0.2285, allocations: 7.922 kB / 419 MB, free: 15.22 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007705/0.2292, allocations: 246.2 kB / 419.2 MB, free: 14.99 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00073/0.23, allocations: 415.5 kB / 419.6 MB, free: 14.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 8.021e-05/0.2301, allocations: 63.66 kB / 419.7 MB, free: 14.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.16e-05/0.2301, allocations: 4 kB / 419.7 MB, free: 14.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.372e-05/0.2301, allocations: 35.89 kB / 419.7 MB, free: 14.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.677e-05/0.2302, allocations: 19.97 kB / 419.7 MB, free: 14.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.2302, allocations: 7.938 kB / 419.7 MB, free: 14.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006819/0.2309, allocations: 0.5728 MB / 420.3 MB, free: 13.88 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/0.2309, allocations: 4 kB / 420.3 MB, free: 13.88 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.2309, allocations: 19.92 kB / 420.3 MB, free: 13.86 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005559/0.2315, allocations: 0.5299 MB / 420.9 MB, free: 13.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2315, allocations: 0 / 420.9 MB, free: 13.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2315, allocations: 4 kB / 420.9 MB, free: 13.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.2315, allocations: 0 / 420.9 MB, free: 13.32 MB / 378.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.0003936/0.2319, allocations: 461 kB / 421.3 MB, free: 12.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.2319, allocations: 8.031 kB / 421.3 MB, free: 12.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006862/0.2326, allocations: 108.7 kB / 421.4 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.2328, allocations: 237 kB / 421.7 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.2329, allocations: 4.562 kB / 421.7 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.2329, allocations: 7.938 kB / 421.7 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.233, allocations: 96.98 kB / 421.8 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.233, allocations: 0 / 421.8 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.2331, allocations: 0 / 421.8 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.2331, allocations: 4 kB / 421.8 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.711e-05/0.2331, allocations: 47.88 kB / 421.8 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/0.2333, allocations: 157.6 kB / 422 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004933/0.2338, allocations: 134.8 kB / 422.1 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.879e-05/0.2338, allocations: 47.41 kB / 422.2 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.234, allocations: 92.58 kB / 422.2 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.234, allocations: 41.33 kB / 422.3 MB, free: 11.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.234, allocations: 0 / 422.3 MB, free: 11.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002468/0.2343, allocations: 129.5 kB / 422.4 MB, free: 11.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.2343, allocations: 81.11 kB / 422.5 MB, free: 11.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.2344, allocations: 231 kB / 422.7 MB, free: 11.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.2344, allocations: 25.7 kB / 422.7 MB, free: 11.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.22e-05/0.2345, allocations: 131.5 kB / 422.9 MB, free: 11.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.2345, allocations: 27.8 kB / 422.9 MB, free: 11.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.2345, allocations: 43.28 kB / 422.9 MB, free: 11.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.179e-05/0.2346, allocations: 492.1 kB / 423.4 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.182e-05/0.2347, allocations: 27.97 kB / 423.5 MB, free: 10.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.037e-05/0.2347, allocations: 59.53 kB / 423.5 MB, free: 10.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.955e-05/0.2348, allocations: 95.02 kB / 423.6 MB, free: 10.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2348, allocations: 0 / 423.6 MB, free: 10.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001623/0.235, allocations: 129.4 kB / 423.7 MB, free: 10.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.235, allocations: 4 kB / 423.7 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.235, allocations: 0 / 423.7 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.235, allocations: 4 kB / 423.7 MB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-05/0.2351, allocations: 26.84 kB / 423.8 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.2351, allocations: 4 kB / 423.8 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.577e-05/0.2351, allocations: 8 kB / 423.8 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.2352, allocations: 7.984 kB / 423.8 MB, free: 10.15 MB / 378.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 5.996e-05/0.2352, allocations: 156.6 kB / 423.9 MB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.2352, allocations: 11.89 kB / 423.9 MB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/0.2355, allocations: 196.2 kB / 424.1 MB, free: 9.781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2355, allocations: 0 / 424.1 MB, free: 9.781 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2355, allocations: 3.938 kB / 424.1 MB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2355, allocations: 4 kB / 424.1 MB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.777e-05/0.2356, allocations: 138 kB / 424.3 MB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2356, allocations: 4 kB / 424.3 MB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.489e-05/0.2357, allocations: 19.97 kB / 424.3 MB, free: 9.578 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.2357, allocations: 4 kB / 424.3 MB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.2357, allocations: 11.88 kB / 424.3 MB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.2357, allocations: 4 kB / 424.3 MB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2357, allocations: 0 / 424.3 MB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.2359, allocations: 168 kB / 424.5 MB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/0.236, allocations: 43.88 kB / 424.5 MB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.236, allocations: 3.938 kB / 424.5 MB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.805e-05/0.236, allocations: 4.875 kB / 424.5 MB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.2361, allocations: 7.984 kB / 424.5 MB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.2361, allocations: 11.98 kB / 424.6 MB, free: 9.297 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.993e-05/0.2362, allocations: 187.2 kB / 424.7 MB, free: 9.113 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2362, allocations: 0 / 424.7 MB, free: 9.113 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002903/0.2365, allocations: 135.6 kB / 424.9 MB, free: 8.98 MB / 378.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.0004008/0.2369, allocations: 320.6 kB / 425.2 MB, free: 8.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001438/0.237, allocations: 79.55 kB / 425.3 MB, free: 8.578 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.237, allocations: 0 / 425.3 MB, free: 8.578 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.191e-05/0.2371, allocations: 39.67 kB / 425.3 MB, free: 8.535 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.2372, allocations: 34.23 kB / 425.3 MB, free: 8.504 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005554/0.2378, allocations: 273.5 kB / 425.6 MB, free: 8.211 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.84e-05/0.2378, allocations: 60.22 kB / 425.7 MB, free: 8.133 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003237/0.2381, allocations: 429.2 kB / 426.1 MB, free: 7.727 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.473e-05/0.2382, allocations: 40.39 kB / 426.1 MB, free: 7.688 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.2382, allocations: 4 kB / 426.1 MB, free: 7.684 MB / 378.7 MB Notification: Performance of Templates: time 0.1306/0.3689, allocations: 7.963 MB / 434.1 MB, free: 16.15 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.962211284786463]