Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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.001142/0.001142, allocations: 75.91 kB / 21.18 MB, free: 3.395 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.0008935/0.0008935, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 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.9738/0.9738, allocations: 173.4 MB / 201.1 MB, free: 9.348 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.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 268 MB, free: 6.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.818e-05, allocations: 6.25 kB / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001805/0.001833, allocations: 1.393 MB / 269.4 MB, free: 5.055 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003818/0.005651, allocations: 4.013 MB / 273.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.716e-05/0.005689, allocations: 0 / 273.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.13e-05/0.00571, allocations: 0 / 273.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009892/0.006699, allocations: 310.6 kB / 273.7 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009565/0.007656, allocations: 0.5056 MB / 274.2 MB, free: 208 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.075e-05/0.007746, allocations: 63.64 kB / 274.3 MB, free: 144 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.576e-05/0.007782, allocations: 7.938 kB / 274.3 MB, free: 136 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.007899, allocations: 55.77 kB / 274.3 MB, free: 80 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005613/0.008461, allocations: 351.3 kB / 274.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.008475, allocations: 0 / 274.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006959/0.009171, allocations: 0.5455 MB / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.009188, allocations: 11.92 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.009215, allocations: 15.98 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006031/0.009818, allocations: 486.7 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.009822, allocations: 0 / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.009823, allocations: 0 / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.009827, allocations: 0 / 275.7 MB, free: 14.68 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.0004188/0.01025, allocations: 459.7 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.01028, allocations: 8.031 kB / 276.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.01033, allocations: 8.891 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.01048, allocations: 144.4 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.0105, allocations: 4.375 kB / 276.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.01052, allocations: 4.375 kB / 276.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.01064, allocations: 86 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.01065, allocations: 0 / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.01066, allocations: 0 / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.01067, allocations: 0 / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.523e-05/0.0107, allocations: 19.91 kB / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001333/0.01084, allocations: 132.4 kB / 276.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.01103, allocations: 94.16 kB / 276.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/0.01106, allocations: 19.38 kB / 276.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002597/0.01132, allocations: 127.9 kB / 276.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.01135, allocations: 37.39 kB / 276.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.01135, allocations: 0 / 276.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001718/0.01152, allocations: 81.48 kB / 276.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.01155, allocations: 81.11 kB / 277 MB, free: 13.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.829e-05/0.01163, allocations: 165.9 kB / 277.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.01164, allocations: 25.7 kB / 277.2 MB, free: 13.01 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.01168, allocations: 138.9 kB / 277.3 MB, free: 12.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.01171, allocations: 23.78 kB / 277.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.01175, allocations: 27.38 kB / 277.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.01185, allocations: 496.1 kB / 277.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.133e-05/0.01187, allocations: 12 kB / 277.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.343e-05/0.01192, allocations: 46.67 kB / 277.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.051e-05/0.01198, allocations: 54.75 kB / 278 MB, free: 12.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01198, allocations: 0 / 278 MB, free: 12.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.378e-05/0.01207, allocations: 81.55 kB / 278 MB, free: 12.08 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.01209, allocations: 4 kB / 278 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01209, allocations: 3.938 kB / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.01211, allocations: 4 kB / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.754e-05/0.01215, allocations: 15.98 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.01216, allocations: 0 / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.423e-05/0.01218, allocations: 7.953 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.01219, allocations: 8 kB / 278.1 MB, free: 12.04 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 6.768e-05/0.01226, allocations: 164.5 kB / 278.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.01227, allocations: 8.531 kB / 278.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.01247, allocations: 116.9 kB / 278.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.01247, allocations: 4 kB / 278.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.01248, allocations: 0 / 278.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01248, allocations: 3.938 kB / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.673e-05/0.01257, allocations: 128.6 kB / 278.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.01257, allocations: 4 kB / 278.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.731e-05/0.01266, allocations: 11.98 kB / 278.5 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01266, allocations: 0 / 278.5 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.01267, allocations: 8 kB / 278.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.01267, allocations: 3.938 kB / 278.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.01267, allocations: 3.938 kB / 278.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.01283, allocations: 128.1 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.109e-05/0.01285, allocations: 11.98 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.01286, allocations: 0 / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.754e-05/0.01288, allocations: 3.938 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.01291, allocations: 7.984 kB / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.01292, allocations: 4 kB / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.052e-05/0.01296, allocations: 131.7 kB / 278.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01296, allocations: 8.031 kB / 278.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003057/0.01327, allocations: 131.5 kB / 278.9 MB, free: 11.1 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.0005267/0.01379, allocations: 323.8 kB / 279.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001166/0.01391, allocations: 51.58 kB / 279.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01391, allocations: 0 / 279.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.067e-05/0.01395, allocations: 19.69 kB / 279.3 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.01411, allocations: 24.11 kB / 279.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007099/0.01482, allocations: 261.6 kB / 279.6 MB, free: 10.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.561e-05/0.01486, allocations: 59.34 kB / 279.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.421e-05/0.01491, allocations: 31.72 kB / 279.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.886e-05/0.01495, allocations: 24.48 kB / 279.7 MB, free: 10.26 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01495, allocations: 0 / 279.7 MB, free: 10.26 MB / 266.7 MB Notification: Performance of Templates: time 0.005174/0.02012, allocations: 3.142 MB / 282.9 MB, free: 7.152 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.020418638829142]