Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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.000959/0.000959, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001012/0.001012, allocations: 165.4 kB / 24.56 MB, free: 16 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.8846/0.8846, allocations: 177.1 MB / 205 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.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133e-05/1.244e-05, allocations: 2.312 kB / 273 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001432/0.001444, allocations: 1.407 MB / 274.4 MB, free: 148 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003519/0.004964, allocations: 4.064 MB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.982e-05/0.004993, allocations: 0 / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.031e-05/0.005014, allocations: 3.984 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008189/0.005833, allocations: 306.7 kB / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007761/0.006609, allocations: 0.5173 MB / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.82e-05/0.006687, allocations: 51.67 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.085e-05/0.006718, allocations: 11.98 kB / 279.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005947/0.007313, allocations: 455 kB / 279.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.779e-05/0.00735, allocations: 27.91 kB / 279.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.007362, allocations: 0 / 279.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000594/0.007956, allocations: 0.5417 MB / 280.3 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.007969, allocations: 11.92 kB / 280.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.148e-05/0.00799, allocations: 15.98 kB / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000488/0.008478, allocations: 486.7 kB / 280.8 MB, free: 9.648 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.00848, allocations: 0 / 280.8 MB, free: 9.648 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.008481, allocations: 0 / 280.8 MB, free: 9.648 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.008485, allocations: 0 / 280.8 MB, free: 9.648 MB / 266.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.0003567/0.008841, allocations: 471.5 kB / 281.3 MB, free: 9.152 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.00887, allocations: 12.03 kB / 281.3 MB, free: 9.141 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.008905, allocations: 4.938 kB / 281.3 MB, free: 9.137 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.009009, allocations: 132.5 kB / 281.4 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.009029, allocations: 4.375 kB / 281.4 MB, free: 8.977 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.009045, allocations: 4.375 kB / 281.4 MB, free: 8.973 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.009151, allocations: 78.06 kB / 281.5 MB, free: 8.879 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-06/0.009156, allocations: 7.938 kB / 281.5 MB, free: 8.871 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.009164, allocations: 0 / 281.5 MB, free: 8.871 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.00917, allocations: 0 / 281.5 MB, free: 8.871 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.989e-05/0.0092, allocations: 15.98 kB / 281.5 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001116/0.009311, allocations: 132.4 kB / 281.7 MB, free: 8.688 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.009478, allocations: 86.17 kB / 281.8 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.59e-05/0.009504, allocations: 27.36 kB / 281.8 MB, free: 8.543 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002196/0.009724, allocations: 127.8 kB / 281.9 MB, free: 8.418 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.009744, allocations: 41.39 kB / 281.9 MB, free: 8.367 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 6.61e-07/0.009744, allocations: 0 / 281.9 MB, free: 8.367 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001469/0.009891, allocations: 81.75 kB / 282 MB, free: 8.281 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.009919, allocations: 77.11 kB / 282.1 MB, free: 8.188 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.01023, allocations: 177.9 kB / 282.3 MB, free: 7.996 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.01024, allocations: 25.7 kB / 282.3 MB, free: 7.965 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.118e-05/0.01027, allocations: 134.8 kB / 282.4 MB, free: 7.828 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.01029, allocations: 19.8 kB / 282.4 MB, free: 7.809 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.01032, allocations: 31.36 kB / 282.5 MB, free: 7.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.595e-05/0.01042, allocations: 496.1 kB / 283 MB, free: 7.273 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.898e-05/0.01044, allocations: 11.98 kB / 283 MB, free: 7.262 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.034e-05/0.01047, allocations: 46.73 kB / 283 MB, free: 7.199 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.469e-05/0.01052, allocations: 58.69 kB / 283.1 MB, free: 7.125 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.01053, allocations: 4 kB / 283.1 MB, free: 7.121 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.108e-05/0.01061, allocations: 77.56 kB / 283.2 MB, free: 7.039 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.01062, allocations: 4 kB / 283.2 MB, free: 7.035 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.01062, allocations: 3.938 kB / 283.2 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.01063, allocations: 4 kB / 283.2 MB, free: 7.027 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.048e-05/0.01067, allocations: 19.92 kB / 283.2 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.01068, allocations: 0 / 283.2 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.168e-05/0.0107, allocations: 8 kB / 283.2 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.01071, allocations: 64 / 283.2 MB, free: 7 MB / 266.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.318e-05/0.01076, allocations: 164.6 kB / 283.4 MB, free: 6.828 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.01077, allocations: 11.95 kB / 283.4 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.01094, allocations: 112.6 kB / 283.5 MB, free: 6.707 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.01094, allocations: 4 kB / 283.5 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.01095, allocations: 0 / 283.5 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.01095, allocations: 0 / 283.5 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.309e-05/0.01102, allocations: 124.6 kB / 283.6 MB, free: 6.547 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01102, allocations: 4 kB / 283.6 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.156e-05/0.01107, allocations: 19.92 kB / 283.6 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.01107, allocations: 0 / 283.6 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.01108, allocations: 8 kB / 283.6 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.01108, allocations: 3.938 kB / 283.6 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01108, allocations: 0 / 283.6 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.0112, allocations: 128 kB / 283.8 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.861e-05/0.01122, allocations: 15.94 kB / 283.8 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.01123, allocations: 0 / 283.8 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.607e-05/0.01125, allocations: 3.938 kB / 283.8 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.01128, allocations: 16.2 kB / 283.8 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.01129, allocations: 8.031 kB / 283.8 MB, free: 6.316 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.268e-05/0.01132, allocations: 127.2 kB / 283.9 MB, free: 6.191 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01132, allocations: 0 / 283.9 MB, free: 6.191 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002563/0.01158, allocations: 139.5 kB / 284.1 MB, free: 6.055 MB / 266.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 (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.0003261/0.0119, allocations: 302.5 kB / 284.4 MB, free: 5.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.196e-05/0.01199, allocations: 43.61 kB / 284.4 MB, free: 5.703 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.01199, allocations: 0 / 284.4 MB, free: 5.703 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.726e-05/0.01203, allocations: 28.45 kB / 284.4 MB, free: 5.672 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.01217, allocations: 27.86 kB / 284.5 MB, free: 5.645 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005161/0.01269, allocations: 257.9 kB / 284.7 MB, free: 5.359 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.738e-05/0.01271, allocations: 63.34 kB / 284.8 MB, free: 5.277 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.71e-05/0.01276, allocations: 31.83 kB / 284.8 MB, free: 5.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.01279, allocations: 24.42 kB / 284.8 MB, free: 5.227 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01279, allocations: 0 / 284.8 MB, free: 5.227 MB / 266.7 MB Notification: Performance of Templates: time 0.004825/0.01762, allocations: 3.937 MB / 288.8 MB, free: 1.438 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/InverseIncompressible_sh_T/InverseIncompressible_sh_T.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: 2.6473650471307337]