Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001165/0.001165, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009083/0.0009083, allocations: 166.2 kB / 24.99 MB, free: 8.355 MB / 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.9138/0.9138, allocations: 177.1 MB / 205.3 MB, free: 5.625 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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 273 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.53e-05, allocations: 2.312 kB / 273 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001585/0.00161, allocations: 1.415 MB / 274.5 MB, free: 436 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2214/0.2231, allocations: 144.7 MB / 419.1 MB, free: 15.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.609e-05/0.2231, allocations: 4 kB / 419.1 MB, free: 15.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.788e-05/0.2232, allocations: 7.922 kB / 419.1 MB, free: 15.85 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.2242, allocations: 376.4 kB / 419.5 MB, free: 15.49 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008744/0.2251, allocations: 0.5407 MB / 420 MB, free: 14.95 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.2252, allocations: 75.58 kB / 420.1 MB, free: 14.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.682e-05/0.2252, allocations: 4 kB / 420.1 MB, free: 14.87 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.407e-05/0.2253, allocations: 47.83 kB / 420.2 MB, free: 14.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.238e-05/0.2253, allocations: 27.89 kB / 420.2 MB, free: 14.8 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.2254, allocations: 4 kB / 420.2 MB, free: 14.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.2268, allocations: 0.9434 MB / 421.1 MB, free: 13.85 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.07e-05/0.2269, allocations: 15.92 kB / 421.1 MB, free: 13.83 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.2269, allocations: 27.92 kB / 421.2 MB, free: 13.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009061/0.2278, allocations: 0.7558 MB / 421.9 MB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2278, allocations: 0 / 421.9 MB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2278, allocations: 0 / 421.9 MB, free: 13.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.2278, allocations: 0 / 421.9 MB, free: 13.05 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.0005244/0.2283, allocations: 480.6 kB / 422.4 MB, free: 12.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.2284, allocations: 12.03 kB / 422.4 MB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003717/0.2287, allocations: 80.67 kB / 422.5 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.2289, allocations: 136.4 kB / 422.6 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.2289, allocations: 4.375 kB / 422.6 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.2289, allocations: 4.562 kB / 422.6 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.229, allocations: 77.7 kB / 422.7 MB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.331e-06/0.2291, allocations: 0 / 422.7 MB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.2291, allocations: 0 / 422.7 MB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.2291, allocations: 0 / 422.7 MB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.646e-05/0.2291, allocations: 19.92 kB / 422.7 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000141/0.2292, allocations: 136.3 kB / 422.9 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.2294, allocations: 86.25 kB / 422.9 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.808e-05/0.2295, allocations: 23.38 kB / 423 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002297/0.2297, allocations: 63.92 kB / 423 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.2297, allocations: 33.39 kB / 423.1 MB, free: 11.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.2297, allocations: 0 / 423.1 MB, free: 11.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002125/0.2299, allocations: 85.86 kB / 423.1 MB, free: 11.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.23, allocations: 77.11 kB / 423.2 MB, free: 11.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.73e-05/0.2301, allocations: 190.5 kB / 423.4 MB, free: 11.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.2301, allocations: 25.7 kB / 423.4 MB, free: 11.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.2301, allocations: 138.9 kB / 423.6 MB, free: 11.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.2301, allocations: 19.8 kB / 423.6 MB, free: 11.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.2302, allocations: 31.36 kB / 423.6 MB, free: 11.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.2303, allocations: 0.4884 MB / 424.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/0.2303, allocations: 4 kB / 424.1 MB, free: 10.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.638e-05/0.2303, allocations: 47.34 kB / 424.2 MB, free: 10.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.335e-05/0.2304, allocations: 69.73 kB / 424.2 MB, free: 10.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2304, allocations: 0 / 424.2 MB, free: 10.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001217/0.2305, allocations: 85.44 kB / 424.3 MB, free: 10.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.2305, allocations: 15.88 kB / 424.3 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2305, allocations: 0 / 424.3 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.2306, allocations: 4 kB / 424.3 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.504e-05/0.2306, allocations: 12 kB / 424.3 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2306, allocations: 0.8594 kB / 424.3 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.58e-05/0.2306, allocations: 7.938 kB / 424.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.2306, allocations: 8 kB / 424.3 MB, free: 10.35 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 6.033e-05/0.2307, allocations: 164.6 kB / 424.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.2307, allocations: 15.89 kB / 424.5 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.2309, allocations: 83.83 kB / 424.6 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2309, allocations: 4 kB / 424.6 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.2309, allocations: 0 / 424.6 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2309, allocations: 0 / 424.6 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.15e-05/0.231, allocations: 128.6 kB / 424.7 MB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.231, allocations: 0 / 424.7 MB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.898e-05/0.231, allocations: 8 kB / 424.7 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.231, allocations: 4 kB / 424.7 MB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.231, allocations: 7.984 kB / 424.8 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.231, allocations: 3.938 kB / 424.8 MB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.231, allocations: 0 / 424.8 MB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.2312, allocations: 131.9 kB / 424.9 MB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.2312, allocations: 4.828 kB / 424.9 MB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.2312, allocations: 7.984 kB / 424.9 MB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.962e-05/0.2312, allocations: 3.938 kB / 424.9 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.2313, allocations: 8.188 kB / 424.9 MB, free: 9.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.2313, allocations: 0 / 424.9 MB, free: 9.711 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.47e-05/0.2313, allocations: 148.2 kB / 425.1 MB, free: 9.566 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2313, allocations: 4.031 kB / 425.1 MB, free: 9.562 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003824/0.2317, allocations: 163.4 kB / 425.2 MB, free: 9.402 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 (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.0006506/0.2324, allocations: 443.2 kB / 425.7 MB, free: 8.957 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.2325, allocations: 40.73 kB / 425.7 MB, free: 8.914 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2325, allocations: 0 / 425.7 MB, free: 8.914 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.919e-05/0.2325, allocations: 31.61 kB / 425.7 MB, free: 8.879 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.2327, allocations: 38.08 kB / 425.8 MB, free: 8.848 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000598/0.2333, allocations: 247 kB / 426 MB, free: 8.574 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.455e-05/0.2334, allocations: 63.34 kB / 426.1 MB, free: 8.492 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.139e-05/0.2334, allocations: 15.61 kB / 426.1 MB, free: 8.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.2334, allocations: 12.5 kB / 426.1 MB, free: 8.469 MB / 378.7 MB Notification: Performance of SimCode: time 8.11e-07/0.2334, allocations: 0 / 426.1 MB, free: 8.469 MB / 378.7 MB Notification: Performance of Templates: time 0.006616/0.24, allocations: 5.031 MB / 431.1 MB, free: 3.508 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.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: 3.0919527169317007]