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.0009746/0.0009746, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001007/0.001007, allocations: 162.9 kB / 24.99 MB, free: 9.273 MB / 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.995/0.995, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.714e-06/1.714e-06, allocations: 0 / 273 MB, free: 1.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.31e-05, allocations: 6.312 kB / 273 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.00507/0.005093, allocations: 1.396 MB / 274.4 MB, free: 464 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007582/0.01268, allocations: 4.06 MB / 278.5 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.92e-05/0.01271, allocations: 0 / 278.5 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.989e-05/0.01273, allocations: 0 / 278.5 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00403/0.01676, allocations: 298.7 kB / 278.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.01778, allocations: 0.5212 MB / 279.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.757e-05/0.01788, allocations: 63.58 kB / 279.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.407e-05/0.01792, allocations: 4 kB / 279.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.01803, allocations: 47.83 kB / 279.4 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006044/0.01863, allocations: 359.3 kB / 279.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.01865, allocations: 4 kB / 279.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003813/0.02246, allocations: 0.5378 MB / 280.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.02248, allocations: 23.91 kB / 280.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.02251, allocations: 8 kB / 280.4 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006776/0.02318, allocations: 494.6 kB / 280.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.02319, allocations: 0 / 280.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.02319, allocations: 0 / 280.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.02319, allocations: 0 / 280.8 MB, free: 10.03 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.000468/0.02366, allocations: 471.6 kB / 281.3 MB, free: 9.531 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.0237, allocations: 11.97 kB / 281.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.02374, allocations: 4.938 kB / 281.3 MB, free: 9.516 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.0239, allocations: 136.5 kB / 281.4 MB, free: 9.355 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.02392, allocations: 4.375 kB / 281.4 MB, free: 9.352 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.02394, allocations: 8.375 kB / 281.5 MB, free: 9.344 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.02406, allocations: 78.06 kB / 281.5 MB, free: 9.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.02407, allocations: 0 / 281.5 MB, free: 9.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.02408, allocations: 0 / 281.5 MB, free: 9.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.02408, allocations: 4 kB / 281.5 MB, free: 9.246 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.93e-05/0.02412, allocations: 19.92 kB / 281.6 MB, free: 9.227 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.02427, allocations: 128.4 kB / 281.7 MB, free: 9.062 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.02448, allocations: 86.09 kB / 281.8 MB, free: 8.953 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.295e-05/0.02451, allocations: 27.44 kB / 281.8 MB, free: 8.918 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/0.0248, allocations: 135.9 kB / 281.9 MB, free: 8.785 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.02482, allocations: 33.39 kB / 282 MB, free: 8.742 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.02482, allocations: 0 / 282 MB, free: 8.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001846/0.02501, allocations: 81.62 kB / 282 MB, free: 8.656 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.02504, allocations: 77.11 kB / 282.1 MB, free: 8.562 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.884e-05/0.02513, allocations: 173.9 kB / 282.3 MB, free: 8.375 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.003023/0.02816, allocations: 25.7 kB / 282.3 MB, free: 8.344 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.0282, allocations: 130.9 kB / 282.4 MB, free: 8.211 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.02824, allocations: 27.78 kB / 282.5 MB, free: 8.184 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.02828, allocations: 31.38 kB / 282.5 MB, free: 8.145 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.02839, allocations: 0.4884 MB / 283 MB, free: 7.645 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.493e-05/0.02842, allocations: 4 kB / 283 MB, free: 7.641 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.473e-05/0.02846, allocations: 54.67 kB / 283 MB, free: 7.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.182e-05/0.02854, allocations: 58.67 kB / 283.1 MB, free: 7.496 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.02854, allocations: 0 / 283.1 MB, free: 7.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001227/0.02866, allocations: 77.56 kB / 283.2 MB, free: 7.414 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.02868, allocations: 12.06 kB / 283.2 MB, free: 7.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.02868, allocations: 3.938 kB / 283.2 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.02869, allocations: 0 / 283.2 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.55e-05/0.02875, allocations: 16 kB / 283.2 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.02876, allocations: 7.938 kB / 283.2 MB, free: 7.375 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.135e-05/0.02879, allocations: 7.922 kB / 283.2 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.0288, allocations: 4 kB / 283.2 MB, free: 7.363 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 7.334e-05/0.02887, allocations: 160.6 kB / 283.4 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.02889, allocations: 7.953 kB / 283.4 MB, free: 7.188 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.0291, allocations: 109.4 kB / 283.5 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.02911, allocations: 0 / 283.5 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.02912, allocations: 7.984 kB / 283.5 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.02912, allocations: 0 / 283.5 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.429e-05/0.02921, allocations: 120.6 kB / 283.6 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.02922, allocations: 3.984 kB / 283.6 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.761e-05/0.02928, allocations: 16 kB / 283.6 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.02928, allocations: 0 / 283.6 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.02929, allocations: 0 / 283.6 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.02929, allocations: 7.875 kB / 283.6 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.02929, allocations: 8 kB / 283.7 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.02946, allocations: 128 kB / 283.8 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.472e-05/0.02948, allocations: 12.38 kB / 283.8 MB, free: 6.723 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.0295, allocations: 7.984 kB / 283.8 MB, free: 6.715 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.42e-05/0.02952, allocations: 3.938 kB / 283.8 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.02956, allocations: 11.98 kB / 283.8 MB, free: 6.699 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.02957, allocations: 0 / 283.8 MB, free: 6.699 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.415e-05/0.02961, allocations: 127.2 kB / 283.9 MB, free: 6.574 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02961, allocations: 0 / 283.9 MB, free: 6.574 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003808/0.02999, allocations: 143.5 kB / 284.1 MB, free: 6.434 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.0004312/0.03042, allocations: 298.7 kB / 284.4 MB, free: 6.129 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.03054, allocations: 47.59 kB / 284.4 MB, free: 6.078 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.03054, allocations: 4 kB / 284.4 MB, free: 6.074 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.753e-05/0.03059, allocations: 27.67 kB / 284.4 MB, free: 6.043 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.03078, allocations: 16 kB / 284.5 MB, free: 6.027 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006722/0.03145, allocations: 266.6 kB / 284.7 MB, free: 5.734 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.384e-05/0.03148, allocations: 55.36 kB / 284.8 MB, free: 5.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.28e-05/0.03154, allocations: 35.77 kB / 284.8 MB, free: 5.629 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/0.03158, allocations: 20.48 kB / 284.8 MB, free: 5.609 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.03158, allocations: 4 kB / 284.8 MB, free: 5.605 MB / 266.7 MB Notification: Performance of Templates: time 0.008025/0.03961, allocations: 3.181 MB / 288 MB, free: 2.465 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.76734713697806]