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.001564/0.001564, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001646/0.001646, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 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 1.439/1.439, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002346/0.002346, allocations: 47.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3148, allocations: 53.36 MB / 432.3 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.003436/0.3182, allocations: 1.351 MB / 433.7 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007687/0.3259, allocations: 3.741 MB / 437.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.518e-05/0.326, allocations: 0 / 437.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.326, allocations: 4 kB / 437.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.327, allocations: 294.9 kB / 437.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.3281, allocations: 0.5166 MB / 438.2 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.3282, allocations: 55.72 kB / 438.3 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.379e-05/0.3282, allocations: 7.984 kB / 438.3 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.3284, allocations: 35.84 kB / 438.3 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006988/0.3291, allocations: 371.2 kB / 438.7 MB, free: 376 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.3291, allocations: 7.984 kB / 438.7 MB, free: 368 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009706/0.33, allocations: 0.5459 MB / 439.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.3301, allocations: 15.98 kB / 439.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.3301, allocations: 11.94 kB / 439.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007643/0.3309, allocations: 445.6 kB / 439.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3309, allocations: 0 / 439.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3309, allocations: 0 / 439.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.3309, allocations: 0 / 439.7 MB, free: 15.36 MB / 350.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.0005737/0.3314, allocations: 369.3 kB / 440.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.3315, allocations: 8.031 kB / 440.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.3315, allocations: 4.938 kB / 440.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.3317, allocations: 130.4 kB / 440.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.3317, allocations: 8.375 kB / 440.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.3318, allocations: 7.938 kB / 440.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.3319, allocations: 63.33 kB / 440.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3319, allocations: 0 / 440.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.3319, allocations: 0 / 440.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3319, allocations: 0 / 440.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.524e-05/0.332, allocations: 19.98 kB / 440.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.3322, allocations: 122.2 kB / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.3325, allocations: 73.22 kB / 440.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.981e-05/0.3326, allocations: 29.77 kB / 440.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003904/0.333, allocations: 131.8 kB / 440.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.333, allocations: 30.56 kB / 440.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.333, allocations: 0 / 440.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003077/0.3333, allocations: 85.55 kB / 440.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.3334, allocations: 81.05 kB / 440.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.3335, allocations: 117.8 kB / 441 MB, free: 13.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.3335, allocations: 25.7 kB / 441 MB, free: 13.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.3335, allocations: 88.14 kB / 441.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.3335, allocations: 23.78 kB / 441.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.3336, allocations: 21.72 kB / 441.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3337, allocations: 318.8 kB / 441.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.009e-05/0.3338, allocations: 8 kB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.766e-05/0.3339, allocations: 39.42 kB / 441.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.334, allocations: 67.7 kB / 441.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.334, allocations: 4 kB / 441.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000206/0.3342, allocations: 85.5 kB / 441.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3342, allocations: 8 kB / 441.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3342, allocations: 0 / 441.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.3342, allocations: 4 kB / 441.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.728e-05/0.3343, allocations: 19.92 kB / 441.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.3343, allocations: 480 / 441.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.773e-05/0.3344, allocations: 4 kB / 441.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.3344, allocations: 0 / 441.7 MB, free: 13.18 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.631e-05/0.3345, allocations: 117.9 kB / 441.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.3345, allocations: 15.83 kB / 441.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003486/0.3348, allocations: 124.4 kB / 441.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.3349, allocations: 0 / 441.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3349, allocations: 4 kB / 441.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3349, allocations: 0 / 441.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.335, allocations: 121.2 kB / 442 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.335, allocations: 0 / 442 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.087e-05/0.3351, allocations: 23.92 kB / 442.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.3351, allocations: 3.938 kB / 442.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.3351, allocations: 4 kB / 442.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3351, allocations: 4 kB / 442.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3351, allocations: 0 / 442.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.3354, allocations: 145.9 kB / 442.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.3354, allocations: 15.88 kB / 442.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.3355, allocations: 4 kB / 442.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.544e-05/0.3355, allocations: 7.922 kB / 442.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.3355, allocations: 12 kB / 442.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.3356, allocations: 7.984 kB / 442.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.409e-05/0.3356, allocations: 87.28 kB / 442.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3356, allocations: 0 / 442.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004386/0.3361, allocations: 139.5 kB / 442.5 MB, free: 12.29 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.0005101/0.3366, allocations: 270.8 kB / 442.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.3368, allocations: 47.91 kB / 442.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.3368, allocations: 4 kB / 442.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.308e-05/0.3369, allocations: 27.92 kB / 442.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.3371, allocations: 12.12 kB / 442.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005182/0.3376, allocations: 299 kB / 443.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.952e-05/0.3376, allocations: 71.33 kB / 443.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.531e-05/0.3377, allocations: 32.53 kB / 443.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.3377, allocations: 15.44 kB / 443.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3377, allocations: 0 / 443.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of Templates: time 0.006967/0.3447, allocations: 3.162 MB / 446.4 MB, free: 8.352 MB / 350.1 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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/InverseIncompressible_sh_T/InverseIncompressible_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.556957376000355]