Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007694/0.0007694, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001074/0.001844, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0006795/0.0006795, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009275/0.001607, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9241/0.9241, allocations: 177.5 MB / 190 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07623/1, allocations: 53.87 MB / 243.9 MB, free: 14.88 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 245.2 MB, free: 13.6 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.888e-05, allocations: 2.312 kB / 245.2 MB, free: 13.6 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00261/0.002629, allocations: 1.46 MB / 246.7 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2416/0.2442, allocations: 144.7 MB / 391.4 MB, free: 5.965 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.065e-05/0.2443, allocations: 0 / 391.4 MB, free: 5.965 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.96e-05/0.2443, allocations: 3.984 kB / 391.4 MB, free: 5.961 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.2454, allocations: 378 kB / 391.7 MB, free: 5.605 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.2465, allocations: 0.5024 MB / 392.3 MB, free: 5.105 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.2466, allocations: 71.66 kB / 392.3 MB, free: 5.035 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.686e-05/0.2467, allocations: 7.984 kB / 392.3 MB, free: 5.027 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.2468, allocations: 51.83 kB / 392.4 MB, free: 4.977 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.299e-05/0.2469, allocations: 31.95 kB / 392.4 MB, free: 4.945 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.2469, allocations: 0 / 392.4 MB, free: 4.945 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.2485, allocations: 0.9858 MB / 393.4 MB, free: 3.957 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.401e-05/0.2486, allocations: 19.86 kB / 393.4 MB, free: 3.938 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.2486, allocations: 16.62 kB / 393.4 MB, free: 3.922 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.2498, allocations: 0.6476 MB / 394.1 MB, free: 3.273 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.2498, allocations: 0 / 394.1 MB, free: 3.273 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2498, allocations: 4 kB / 394.1 MB, free: 3.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.2498, allocations: 0 / 394.1 MB, free: 3.27 MB / 362.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.0005965/0.2504, allocations: 432.1 kB / 394.5 MB, free: 2.824 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.2504, allocations: 8.625 kB / 394.5 MB, free: 2.816 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004451/0.2509, allocations: 153.9 kB / 394.7 MB, free: 2.648 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.251, allocations: 136.4 kB / 394.8 MB, free: 2.488 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.251, allocations: 4.375 kB / 394.8 MB, free: 2.484 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.251, allocations: 4.562 kB / 394.8 MB, free: 2.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.2511, allocations: 78.84 kB / 394.9 MB, free: 2.387 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.2511, allocations: 0 / 394.9 MB, free: 2.387 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.2512, allocations: 0 / 394.9 MB, free: 2.387 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.2512, allocations: 3.984 kB / 394.9 MB, free: 2.383 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.525e-05/0.2512, allocations: 21.58 kB / 394.9 MB, free: 2.359 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001122/0.2513, allocations: 80.77 kB / 395 MB, free: 2.262 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.2515, allocations: 68.53 kB / 395.1 MB, free: 2.172 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.46e-05/0.2515, allocations: 17.72 kB / 395.1 MB, free: 2.148 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002349/0.2518, allocations: 51.94 kB / 395.1 MB, free: 2.098 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.2518, allocations: 38.5 kB / 395.2 MB, free: 2.051 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.2518, allocations: 3.938 kB / 395.2 MB, free: 2.047 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001796/0.252, allocations: 69.53 kB / 395.2 MB, free: 1.973 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.252, allocations: 85.11 kB / 395.3 MB, free: 1.871 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.813e-05/0.2521, allocations: 129.7 kB / 395.4 MB, free: 1.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.2521, allocations: 25.7 kB / 395.5 MB, free: 1.699 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.722e-05/0.2521, allocations: 92.11 kB / 395.6 MB, free: 1.605 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.2522, allocations: 19.8 kB / 395.6 MB, free: 1.586 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.2522, allocations: 21.7 kB / 395.6 MB, free: 1.559 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.593e-05/0.2523, allocations: 318.8 kB / 395.9 MB, free: 1.238 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.2523, allocations: 6.828 kB / 395.9 MB, free: 1.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.397e-05/0.2523, allocations: 35.41 kB / 395.9 MB, free: 1.184 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.317e-05/0.2524, allocations: 57.38 kB / 396 MB, free: 1.113 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2524, allocations: 0 / 396 MB, free: 1.113 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001397/0.2525, allocations: 71.2 kB / 396.1 MB, free: 1.035 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.2526, allocations: 7.938 kB / 396.1 MB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2526, allocations: 4 kB / 396.1 MB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2526, allocations: 3.938 kB / 396.1 MB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/0.2526, allocations: 21.42 kB / 396.1 MB, free: 1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2526, allocations: 4 kB / 396.1 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.531e-05/0.2527, allocations: 4.062 kB / 396.1 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.2527, allocations: 4.938 kB / 396.1 MB, free: 0.9883 MB / 362.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.245e-05/0.2527, allocations: 116.7 kB / 396.2 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.2528, allocations: 11.94 kB / 396.2 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.2529, allocations: 71.3 kB / 396.3 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2529, allocations: 7.938 kB / 396.3 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.2529, allocations: 0 / 396.3 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2529, allocations: 0 / 396.3 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.735e-05/0.253, allocations: 79.38 kB / 396.4 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.253, allocations: 0 / 396.4 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.64e-05/0.2531, allocations: 23.94 kB / 396.4 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.902e-05/0.2531, allocations: 12.81 kB / 396.4 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.2531, allocations: 0 / 396.4 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.2531, allocations: 3.938 kB / 396.4 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2531, allocations: 0 / 396.4 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.2531, allocations: 7.938 kB / 396.5 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.2533, allocations: 104.2 kB / 396.6 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.2533, allocations: 7.984 kB / 396.6 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.249e-05/0.2534, allocations: 4 kB / 396.6 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.2534, allocations: 3.938 kB / 396.6 MB, free: 500 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.2534, allocations: 12.02 kB / 396.6 MB, free: 488 kB / 362.7 MB Notification: Performance of sorting global known variables: time 3.368e-05/0.2534, allocations: 25.38 kB / 396.6 MB, free: 460 kB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2534, allocations: 0 / 396.6 MB, free: 460 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004577/0.2539, allocations: 179.4 kB / 396.8 MB, free: 280 kB / 362.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.000839/0.2547, allocations: 437.5 kB / 397.2 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.783e-05/0.2548, allocations: 24.84 kB / 397.2 MB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.2548, allocations: 8.188 kB / 397.2 MB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.845e-05/0.2548, allocations: 24.78 kB / 397.3 MB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.2551, allocations: 198.3 kB / 397.5 MB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.2572, allocations: 231 kB / 397.7 MB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.544e-05/0.2572, allocations: 59.34 kB / 397.7 MB, free: 15.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.528e-05/0.2572, allocations: 17.05 kB / 397.8 MB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.391e-05/0.2573, allocations: 75.36 kB / 397.8 MB, free: 15.13 MB / 378.7 MB Notification: Performance of SimCode: time 7.11e-07/0.2573, allocations: 0 / 397.8 MB, free: 15.13 MB / 378.7 MB Notification: Performance of Templates: time 0.01012/0.2675, allocations: 6.549 MB / 404.4 MB, free: 8.672 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.827265592291951]