Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001386/0.001386, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001422/0.001422, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.487/1.487, allocations: 230.4 MB / 251.1 MB, free: 8.465 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 71.81 kB / 368.9 MB, free: 6.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2282, allocations: 53.31 MB / 422.3 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002464/0.2306, allocations: 1.381 MB / 423.6 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005771/0.2364, allocations: 4.056 MB / 427.7 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.2364, allocations: 8 kB / 427.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.849e-05/0.2364, allocations: 3.984 kB / 427.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.2374, allocations: 270.9 kB / 428 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.2387, allocations: 0.5013 MB / 428.5 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.2388, allocations: 59.66 kB / 428.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.595e-05/0.2388, allocations: 4 kB / 428.5 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.2389, allocations: 35.84 kB / 428.6 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007175/0.2397, allocations: 367.3 kB / 428.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.2397, allocations: 0 / 428.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.2407, allocations: 0.6161 MB / 429.5 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.2408, allocations: 19.86 kB / 429.6 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.136e-05/0.2408, allocations: 15.94 kB / 429.6 MB, free: 492 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007165/0.2415, allocations: 458.3 kB / 430 MB, free: 36 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2415, allocations: 0 / 430 MB, free: 36 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2415, allocations: 0 / 430 MB, free: 36 kB / 334.1 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.2415, allocations: 4 kB / 430 MB, free: 32 kB / 334.1 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.0006199/0.2421, allocations: 450.4 kB / 430.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.2422, allocations: 12.03 kB / 430.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.2422, allocations: 4.891 kB / 430.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.2424, allocations: 184.3 kB / 430.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.2425, allocations: 4.375 kB / 430.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.2425, allocations: 7.875 kB / 430.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.2426, allocations: 67.39 kB / 430.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.2426, allocations: 0 / 430.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.2427, allocations: 0 / 430.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2427, allocations: 4 kB / 430.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.839e-05/0.2427, allocations: 11.98 kB / 430.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002084/0.2429, allocations: 174.5 kB / 430.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.2432, allocations: 85.19 kB / 431 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.508e-05/0.2433, allocations: 17.72 kB / 431 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/0.2445, allocations: 1.552 MB / 432.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.2445, allocations: 34.5 kB / 432.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.2445, allocations: 7.938 kB / 432.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003118/0.2448, allocations: 85.55 kB / 432.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.2449, allocations: 77.11 kB / 432.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.245, allocations: 109.8 kB / 432.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.245, allocations: 25.7 kB / 432.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.2451, allocations: 88.08 kB / 433 MB, free: 12.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.076e-05/0.2451, allocations: 27.78 kB / 433 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.027e-05/0.2452, allocations: 21.72 kB / 433 MB, free: 12.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.2453, allocations: 322.8 kB / 433.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.363e-05/0.2454, allocations: 11.98 kB / 433.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.168e-05/0.2455, allocations: 35.42 kB / 433.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.2456, allocations: 63.36 kB / 433.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2456, allocations: 0 / 433.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000206/0.2458, allocations: 89.5 kB / 433.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2458, allocations: 7.938 kB / 433.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2458, allocations: 0 / 433.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.2459, allocations: 4 kB / 433.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.183e-05/0.2459, allocations: 15.98 kB / 433.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2459, allocations: 0 / 433.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.491e-05/0.246, allocations: 8.062 kB / 433.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.246, allocations: 3.984 kB / 433.6 MB, free: 11.84 MB / 350.1 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 8.87e-05/0.2461, allocations: 117.8 kB / 433.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.2461, allocations: 7.953 kB / 433.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003702/0.2465, allocations: 123.6 kB / 433.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.2465, allocations: 8 kB / 433.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2465, allocations: 0 / 433.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2465, allocations: 0.5625 kB / 433.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.2467, allocations: 173.6 kB / 434 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2467, allocations: 0 / 434 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.999e-05/0.2467, allocations: 11.98 kB / 434 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2467, allocations: 4 kB / 434 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.2467, allocations: 4 kB / 434 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2467, allocations: 0 / 434 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2468, allocations: 4 kB / 434 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.2471, allocations: 153.7 kB / 434.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.924e-05/0.2471, allocations: 93.08 kB / 434.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.2471, allocations: 0 / 434.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.34e-05/0.2472, allocations: 4 kB / 434.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.2472, allocations: 7.984 kB / 434.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.2472, allocations: 0 / 434.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.211e-05/0.2473, allocations: 95.28 kB / 434.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2473, allocations: 3.938 kB / 434.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004423/0.2477, allocations: 139.5 kB / 434.5 MB, free: 10.79 MB / 350.1 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 (7): * Single equations (assignments): 6 * 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.0006581/0.2484, allocations: 287 kB / 434.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.2486, allocations: 47.91 kB / 434.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2486, allocations: 0 / 434.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.973e-05/0.2487, allocations: 32.05 kB / 434.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.2489, allocations: 23.02 kB / 434.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005784/0.2495, allocations: 278.3 kB / 435.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.2498, allocations: 0.6924 MB / 435.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.17e-05/0.2498, allocations: 27.41 kB / 435.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.2499, allocations: 27.36 kB / 435.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2499, allocations: 0 / 435.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of Templates: time 0.007/0.2569, allocations: 3.078 MB / 439 MB, free: 6.316 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 480]