Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 145.7 kB / 25.59 MB, free: 8.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9225/0.9225, allocations: 173.4 MB / 202.3 MB, free: 8.289 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 269.2 MB, free: 9.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.371e-05, allocations: 5.406 kB / 269.2 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001818/0.001842, allocations: 1.393 MB / 270.6 MB, free: 8.406 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2305/0.2323, allocations: 139.3 MB / 409.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.308e-05/0.2324, allocations: 0 / 409.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.237e-05/0.2324, allocations: 7.938 kB / 409.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.2337, allocations: 380.8 kB / 410.3 MB, free: 11.65 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008579/0.2346, allocations: 0.5329 MB / 410.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.2347, allocations: 71.59 kB / 410.9 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.2347, allocations: 7.984 kB / 410.9 MB, free: 11.04 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.785e-05/0.2348, allocations: 51.81 kB / 411 MB, free: 10.99 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.706e-05/0.2348, allocations: 31.89 kB / 411 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.2349, allocations: 4 kB / 411 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.2361, allocations: 0.9307 MB / 411.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.183e-05/0.2362, allocations: 15.92 kB / 411.9 MB, free: 10 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.2362, allocations: 23.92 kB / 412 MB, free: 9.977 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009154/0.2371, allocations: 0.748 MB / 412.7 MB, free: 9.227 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.2371, allocations: 0 / 412.7 MB, free: 9.227 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2371, allocations: 4 kB / 412.7 MB, free: 9.223 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.2371, allocations: 0 / 412.7 MB, free: 9.223 MB / 330.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.0004788/0.2376, allocations: 487.8 kB / 413.2 MB, free: 8.711 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.2377, allocations: 12.03 kB / 413.2 MB, free: 8.699 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003025/0.238, allocations: 69.75 kB / 413.3 MB, free: 8.633 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.2381, allocations: 136.4 kB / 413.4 MB, free: 8.473 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.2381, allocations: 384 / 413.4 MB, free: 8.473 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.2381, allocations: 4.562 kB / 413.4 MB, free: 8.469 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.2382, allocations: 81.69 kB / 413.5 MB, free: 8.371 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.2382, allocations: 0 / 413.5 MB, free: 8.371 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.2382, allocations: 4 kB / 413.5 MB, free: 8.367 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.2382, allocations: 3.312 kB / 413.5 MB, free: 8.367 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.593e-05/0.2382, allocations: 15.92 kB / 413.5 MB, free: 8.352 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001172/0.2384, allocations: 121 kB / 413.6 MB, free: 8.203 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.2385, allocations: 78.17 kB / 413.7 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.282e-05/0.2385, allocations: 35.34 kB / 413.7 MB, free: 8.059 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001976/0.2387, allocations: 43.95 kB / 413.8 MB, free: 8.016 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.2387, allocations: 41.39 kB / 413.8 MB, free: 7.965 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.2388, allocations: 0 / 413.8 MB, free: 7.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001668/0.2389, allocations: 77.44 kB / 413.9 MB, free: 7.883 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.239, allocations: 81.11 kB / 414 MB, free: 7.785 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.18e-05/0.239, allocations: 181.9 kB / 414.2 MB, free: 7.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.239, allocations: 25.7 kB / 414.2 MB, free: 7.559 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/0.2391, allocations: 138.9 kB / 414.3 MB, free: 7.418 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.2391, allocations: 23.78 kB / 414.3 MB, free: 7.395 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.2391, allocations: 27.38 kB / 414.4 MB, free: 7.359 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.2393, allocations: 0.4923 MB / 414.9 MB, free: 6.855 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.549e-05/0.2393, allocations: 8 kB / 414.9 MB, free: 6.848 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.194e-05/0.2393, allocations: 42.72 kB / 414.9 MB, free: 6.789 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.192e-05/0.2394, allocations: 63.03 kB / 415 MB, free: 6.711 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2394, allocations: 0 / 415 MB, free: 6.711 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001091/0.2395, allocations: 73.52 kB / 415 MB, free: 6.633 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2395, allocations: 8.625 kB / 415 MB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.2395, allocations: 8 kB / 415.1 MB, free: 6.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.335e-06/0.2395, allocations: 3.938 kB / 415.1 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.562e-05/0.2395, allocations: 15.98 kB / 415.1 MB, free: 6.598 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.2396, allocations: 4 kB / 415.1 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.534e-05/0.2396, allocations: 11.89 kB / 415.1 MB, free: 6.582 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.2396, allocations: 4 kB / 415.1 MB, free: 6.578 MB / 330.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.872e-05/0.2396, allocations: 156.5 kB / 415.2 MB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.2397, allocations: 15.98 kB / 415.3 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.2398, allocations: 81.28 kB / 415.3 MB, free: 6.312 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2398, allocations: 7.938 kB / 415.3 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.2398, allocations: 0 / 415.3 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2398, allocations: 3.984 kB / 415.4 MB, free: 6.301 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.784e-05/0.2399, allocations: 113.2 kB / 415.5 MB, free: 6.164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.2399, allocations: 0 / 415.5 MB, free: 6.164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.2399, allocations: 15.98 kB / 415.5 MB, free: 6.148 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2399, allocations: 0 / 415.5 MB, free: 6.148 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.2399, allocations: 0 / 415.5 MB, free: 6.148 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2399, allocations: 1.188 kB / 415.5 MB, free: 6.148 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2399, allocations: 4 kB / 415.5 MB, free: 6.145 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.2401, allocations: 127.9 kB / 415.6 MB, free: 5.992 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.983e-05/0.2401, allocations: 7.984 kB / 415.6 MB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.2401, allocations: 4 kB / 415.6 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.897e-05/0.2401, allocations: 4 kB / 415.6 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.2401, allocations: 7.922 kB / 415.6 MB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.2401, allocations: 4.875 kB / 415.6 MB, free: 5.965 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.35e-05/0.2402, allocations: 135.2 kB / 415.8 MB, free: 5.832 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2402, allocations: 0 / 415.8 MB, free: 5.832 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003821/0.2406, allocations: 167.4 kB / 415.9 MB, free: 5.668 MB / 330.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.0007157/0.2413, allocations: 464.7 kB / 416.4 MB, free: 5.215 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.573e-05/0.2414, allocations: 38.47 kB / 416.4 MB, free: 5.176 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2414, allocations: 0 / 416.4 MB, free: 5.176 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.541e-05/0.2414, allocations: 23.61 kB / 416.4 MB, free: 5.148 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.2416, allocations: 42.72 kB / 416.5 MB, free: 5.113 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005021/0.2421, allocations: 262.3 kB / 416.7 MB, free: 4.828 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.018e-05/0.2421, allocations: 59.34 kB / 416.8 MB, free: 4.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.218e-05/0.2422, allocations: 19.89 kB / 416.8 MB, free: 4.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.855e-05/0.2422, allocations: 94.17 kB / 416.9 MB, free: 4.637 MB / 330.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2422, allocations: 0 / 416.9 MB, free: 4.637 MB / 330.7 MB Notification: Performance of Templates: time 0.007641/0.2499, allocations: 6.344 MB / 423.3 MB, free: 14.34 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.016560046002269]