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.001399/0.001399, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001065/0.001065, allocations: 165 kB / 24.56 MB, free: 12 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.9465/0.9465, allocations: 177.1 MB / 205 MB, free: 5.609 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.573e-06/1.573e-06, allocations: 0 / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.373e-05, allocations: 2.312 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002345/0.002369, allocations: 1.422 MB / 274.4 MB, free: 112 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2416/0.244, allocations: 144.9 MB / 419.3 MB, free: 15.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.556e-05/0.244, allocations: 7.938 kB / 419.3 MB, free: 15.65 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 5.09e-05/0.2441, allocations: 3.984 kB / 419.3 MB, free: 15.65 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.2452, allocations: 384.3 kB / 419.7 MB, free: 15.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.2463, allocations: 0.5291 MB / 420.2 MB, free: 14.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.2464, allocations: 83.56 kB / 420.3 MB, free: 14.67 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.785e-05/0.2464, allocations: 0 / 420.3 MB, free: 14.67 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.236e-05/0.2465, allocations: 43.89 kB / 420.4 MB, free: 14.63 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.998e-05/0.2466, allocations: 35.89 kB / 420.4 MB, free: 14.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.2466, allocations: 0 / 420.4 MB, free: 14.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.248, allocations: 0.9463 MB / 421.3 MB, free: 13.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.932e-05/0.248, allocations: 15.98 kB / 421.3 MB, free: 13.63 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.248, allocations: 23.92 kB / 421.4 MB, free: 13.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009256/0.249, allocations: 0.7558 MB / 422.1 MB, free: 12.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.249, allocations: 3.938 kB / 422.1 MB, free: 12.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.249, allocations: 0 / 422.1 MB, free: 12.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.249, allocations: 0 / 422.1 MB, free: 12.84 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.0005186/0.2495, allocations: 488.5 kB / 422.6 MB, free: 12.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2495, allocations: 8.031 kB / 422.6 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004049/0.2499, allocations: 80.73 kB / 422.7 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.25, allocations: 132.5 kB / 422.8 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.2501, allocations: 4.375 kB / 422.8 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.2501, allocations: 0.5625 kB / 422.8 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.2502, allocations: 81.64 kB / 422.9 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.2502, allocations: 0 / 422.9 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.2502, allocations: 3.984 kB / 422.9 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.2502, allocations: 0 / 422.9 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.782e-05/0.2503, allocations: 16 kB / 422.9 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.2504, allocations: 136.3 kB / 423.1 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.2506, allocations: 90.25 kB / 423.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.921e-05/0.2507, allocations: 23.36 kB / 423.2 MB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002451/0.2509, allocations: 55.94 kB / 423.2 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.2509, allocations: 41.38 kB / 423.3 MB, free: 11.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.2509, allocations: 0 / 423.3 MB, free: 11.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002111/0.2511, allocations: 81.5 kB / 423.3 MB, free: 11.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.2512, allocations: 81.05 kB / 423.4 MB, free: 11.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.839e-05/0.2513, allocations: 185.9 kB / 423.6 MB, free: 11.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.2513, allocations: 29.64 kB / 423.6 MB, free: 11.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.98e-05/0.2513, allocations: 142.8 kB / 423.8 MB, free: 10.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.2514, allocations: 19.8 kB / 423.8 MB, free: 10.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.2514, allocations: 31.36 kB / 423.8 MB, free: 10.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.2515, allocations: 0.4884 MB / 424.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.413e-05/0.2515, allocations: 11.98 kB / 424.3 MB, free: 10.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.711e-05/0.2516, allocations: 39.38 kB / 424.4 MB, free: 10.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.021e-05/0.2517, allocations: 62.67 kB / 424.4 MB, free: 10.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2517, allocations: 0.9375 kB / 424.4 MB, free: 10.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001396/0.2518, allocations: 81.5 kB / 424.5 MB, free: 10.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.2518, allocations: 11.94 kB / 424.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.2518, allocations: 4.062 kB / 424.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.2518, allocations: 0 / 424.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.091e-05/0.2519, allocations: 15.94 kB / 424.5 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2519, allocations: 4.859 kB / 424.5 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.315e-05/0.2519, allocations: 7.938 kB / 424.5 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.2519, allocations: 11.12 kB / 424.6 MB, free: 10.14 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.393e-05/0.252, allocations: 156.6 kB / 424.7 MB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.252, allocations: 12.36 kB / 424.7 MB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.2522, allocations: 91.7 kB / 424.8 MB, free: 9.875 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2522, allocations: 0 / 424.8 MB, free: 9.875 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.2522, allocations: 8 kB / 424.8 MB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2522, allocations: 0 / 424.8 MB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.411e-05/0.2523, allocations: 128.6 kB / 424.9 MB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2523, allocations: 0 / 424.9 MB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.836e-05/0.2523, allocations: 8 kB / 425 MB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2523, allocations: 3.984 kB / 425 MB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.2523, allocations: 4 kB / 425 MB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.2523, allocations: 3.938 kB / 425 MB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2523, allocations: 3.938 kB / 425 MB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.2525, allocations: 124 kB / 425.1 MB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.2525, allocations: 11.98 kB / 425.1 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.2526, allocations: 7.984 kB / 425.1 MB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.458e-05/0.2526, allocations: 3.938 kB / 425.1 MB, free: 9.512 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.2526, allocations: 8 kB / 425.1 MB, free: 9.504 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.2526, allocations: 3.984 kB / 425.1 MB, free: 9.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.786e-05/0.2527, allocations: 148 kB / 425.3 MB, free: 9.355 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2527, allocations: 0 / 425.3 MB, free: 9.355 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004112/0.2531, allocations: 163.4 kB / 425.4 MB, free: 9.195 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.0007422/0.2538, allocations: 434.8 kB / 425.9 MB, free: 8.758 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.2539, allocations: 47.75 kB / 425.9 MB, free: 8.707 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2539, allocations: 0 / 425.9 MB, free: 8.707 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.28e-05/0.254, allocations: 28.55 kB / 425.9 MB, free: 8.676 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.2542, allocations: 28.3 kB / 426 MB, free: 8.652 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006563/0.2549, allocations: 262 kB / 426.2 MB, free: 8.367 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.548e-05/0.2549, allocations: 67.28 kB / 426.3 MB, free: 8.281 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.207e-05/0.255, allocations: 7.391 kB / 426.3 MB, free: 8.277 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.255, allocations: 24.48 kB / 426.3 MB, free: 8.254 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.255, allocations: 3.938 kB / 426.3 MB, free: 8.25 MB / 378.7 MB Notification: Performance of Templates: time 0.008854/0.2638, allocations: 6.316 MB / 432.6 MB, free: 2.02 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.185444406233728]