Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001452/0.001452, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001558/0.001558, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 177 MB / 204.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 272.2 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.463e-05, allocations: 2.312 kB / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002861/0.002886, allocations: 1.352 MB / 273.5 MB, free: 480 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.278/0.2809, allocations: 130.7 MB / 404.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.685e-05/0.2809, allocations: 4 kB / 404.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 3.051e-05/0.2809, allocations: 3.938 kB / 404.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.282, allocations: 250.5 kB / 404.5 MB, free: 12.65 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.2832, allocations: 410.8 kB / 404.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.2833, allocations: 55.66 kB / 404.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.2833, allocations: 7.984 kB / 404.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.136e-05/0.2834, allocations: 31.92 kB / 404.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.439e-05/0.2835, allocations: 27.89 kB / 405 MB, free: 12.13 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.2835, allocations: 0 / 405 MB, free: 12.13 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.2846, allocations: 0.5767 MB / 405.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.2847, allocations: 15.91 kB / 405.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.2847, allocations: 12 kB / 405.6 MB, free: 11.53 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.2858, allocations: 0.5299 MB / 406.1 MB, free: 11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2858, allocations: 0 / 406.1 MB, free: 11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2858, allocations: 0 / 406.1 MB, free: 11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.81e-06/0.2858, allocations: 0 / 406.1 MB, free: 11 MB / 362.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.0006342/0.2864, allocations: 354 kB / 406.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.2865, allocations: 15.98 kB / 406.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.2879, allocations: 120.7 kB / 406.6 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.2882, allocations: 201.5 kB / 406.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.2882, allocations: 4.562 kB / 406.8 MB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.2883, allocations: 3.938 kB / 406.8 MB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.2885, allocations: 91.33 kB / 406.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.2885, allocations: 0 / 406.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.2886, allocations: 4 kB / 406.9 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2886, allocations: 4 kB / 406.9 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.2887, allocations: 43.89 kB / 406.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/0.289, allocations: 139.5 kB / 407.1 MB, free: 9.938 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005408/0.2896, allocations: 129.1 kB / 407.2 MB, free: 9.793 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.2897, allocations: 37.77 kB / 407.2 MB, free: 9.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002789/0.29, allocations: 92.52 kB / 407.3 MB, free: 9.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.29, allocations: 42.48 kB / 407.4 MB, free: 9.609 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.29, allocations: 4 kB / 407.4 MB, free: 9.605 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005395/0.2906, allocations: 133.5 kB / 407.5 MB, free: 9.469 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.2906, allocations: 81.11 kB / 407.6 MB, free: 9.371 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/0.2909, allocations: 153.8 kB / 407.7 MB, free: 9.211 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.2909, allocations: 25.7 kB / 407.8 MB, free: 9.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.294e-05/0.291, allocations: 80.14 kB / 407.8 MB, free: 9.098 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/0.291, allocations: 27.78 kB / 407.9 MB, free: 9.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.887e-05/0.2911, allocations: 33.69 kB / 407.9 MB, free: 9.031 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.2912, allocations: 322.8 kB / 408.2 MB, free: 8.707 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.2914, allocations: 27.97 kB / 408.2 MB, free: 8.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.2915, allocations: 51.41 kB / 408.3 MB, free: 8.617 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.2918, allocations: 79.97 kB / 408.4 MB, free: 8.527 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2918, allocations: 0 / 408.4 MB, free: 8.527 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003824/0.2921, allocations: 137.4 kB / 408.5 MB, free: 8.387 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2922, allocations: 4 kB / 408.5 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2922, allocations: 4 kB / 408.5 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.2922, allocations: 0 / 408.5 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.2923, allocations: 30.28 kB / 408.5 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.2923, allocations: 0 / 408.5 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.2925, allocations: 4 kB / 408.5 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.2926, allocations: 11.98 kB / 408.5 MB, free: 8.336 MB / 362.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 0.0001109/0.2927, allocations: 113.8 kB / 408.7 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.479e-05/0.2927, allocations: 15.89 kB / 408.7 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006708/0.2934, allocations: 252.3 kB / 408.9 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.2934, allocations: 8 kB / 408.9 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2934, allocations: 0 / 408.9 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2934, allocations: 0 / 408.9 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.2937, allocations: 159.4 kB / 409.1 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2937, allocations: 0 / 409.1 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.2938, allocations: 19.97 kB / 409.1 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2938, allocations: 4 kB / 409.1 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.2939, allocations: 11.94 kB / 409.1 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2939, allocations: 0 / 409.1 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.2939, allocations: 5.484 kB / 409.1 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004649/0.2943, allocations: 173.9 kB / 409.3 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.509e-05/0.2944, allocations: 43.88 kB / 409.3 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.2945, allocations: 7.922 kB / 409.3 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.2947, allocations: 8 kB / 409.4 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.2947, allocations: 8.047 kB / 409.4 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.2947, allocations: 11.88 kB / 409.4 MB, free: 7.453 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001888/0.2949, allocations: 131.8 kB / 409.5 MB, free: 7.324 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2949, allocations: 0 / 409.5 MB, free: 7.324 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005191/0.2954, allocations: 139.5 kB / 409.6 MB, free: 7.188 MB / 362.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 (8): * Single equations (assignments): 7 * 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.0006699/0.2961, allocations: 314.6 kB / 409.9 MB, free: 6.871 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002943/0.2964, allocations: 75.88 kB / 410 MB, free: 6.797 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2964, allocations: 4.125 kB / 410 MB, free: 6.793 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.2965, allocations: 40.14 kB / 410.1 MB, free: 6.754 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.2968, allocations: 31.69 kB / 410.1 MB, free: 6.727 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005537/0.2974, allocations: 253.4 kB / 410.3 MB, free: 6.457 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.265e-05/0.2974, allocations: 75.58 kB / 410.4 MB, free: 6.363 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006196/0.2981, allocations: 433.2 kB / 410.8 MB, free: 5.953 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.2982, allocations: 44.45 kB / 410.9 MB, free: 5.91 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.2982, allocations: 0 / 410.9 MB, free: 5.91 MB / 362.7 MB Notification: Performance of Templates: time 0.01123/0.3094, allocations: 5.625 MB / 416.5 MB, free: 340 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_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.622191614937037]