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.001897/0.001897, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.00203/0.00203, allocations: 156.8 kB / 24.27 MB, free: 156 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.592/1.592, allocations: 177 MB / 204.5 MB, free: 5.613 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.443e-06/1.443e-06, allocations: 0 / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.398e-05, allocations: 6.312 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002567/0.002591, allocations: 1.38 MB / 273.6 MB, free: 440 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.3035/0.3061, allocations: 144.3 MB / 417.9 MB, free: 15.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.53e-05/0.3062, allocations: 0 / 417.9 MB, free: 15.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.141e-05/0.3062, allocations: 3.984 kB / 417.9 MB, free: 15.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.3072, allocations: 258.5 kB / 418.1 MB, free: 15.58 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.3083, allocations: 406.7 kB / 418.5 MB, free: 15.19 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.3084, allocations: 59.66 kB / 418.6 MB, free: 15.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.337e-05/0.3085, allocations: 0 / 418.6 MB, free: 15.13 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.965e-05/0.3085, allocations: 31.91 kB / 418.6 MB, free: 15.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.3087, allocations: 31.91 kB / 418.6 MB, free: 15.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.3087, allocations: 0 / 418.6 MB, free: 15.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.3098, allocations: 0.5768 MB / 419.2 MB, free: 14.49 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.3098, allocations: 7.922 kB / 419.2 MB, free: 14.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.963e-05/0.3099, allocations: 19.98 kB / 419.2 MB, free: 14.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009498/0.3108, allocations: 0.526 MB / 419.8 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3108, allocations: 0 / 419.8 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3108, allocations: 0 / 419.8 MB, free: 13.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3108, allocations: 4 kB / 419.8 MB, free: 13.93 MB / 378.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.0006414/0.3115, allocations: 459.9 kB / 420.2 MB, free: 13.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3115, allocations: 11.98 kB / 420.2 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.3128, allocations: 116.7 kB / 420.3 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.3132, allocations: 212.4 kB / 420.5 MB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.3132, allocations: 0.5625 kB / 420.5 MB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.3132, allocations: 7.938 kB / 420.6 MB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.3135, allocations: 97.61 kB / 420.7 MB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3135, allocations: 0 / 420.7 MB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.3135, allocations: 0 / 420.7 MB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3135, allocations: 0 / 420.7 MB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.3137, allocations: 55.89 kB / 420.7 MB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002761/0.314, allocations: 157.6 kB / 420.9 MB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005246/0.3145, allocations: 146 kB / 421 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.3146, allocations: 47.41 kB / 421.1 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002663/0.3149, allocations: 92.58 kB / 421.1 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.3149, allocations: 38.64 kB / 421.2 MB, free: 12.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.3149, allocations: 0 / 421.2 MB, free: 12.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005215/0.3154, allocations: 141.5 kB / 421.3 MB, free: 12.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/0.3155, allocations: 77.11 kB / 421.4 MB, free: 12.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.3158, allocations: 233.9 kB / 421.6 MB, free: 11.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.3158, allocations: 25.7 kB / 421.6 MB, free: 11.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.995e-05/0.3159, allocations: 134.9 kB / 421.8 MB, free: 11.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.331e-05/0.3159, allocations: 23.8 kB / 421.8 MB, free: 11.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-05/0.316, allocations: 35.34 kB / 421.8 MB, free: 11.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002588/0.3163, allocations: 496.1 kB / 422.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.3164, allocations: 31.97 kB / 422.4 MB, free: 11.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.3165, allocations: 70.66 kB / 422.4 MB, free: 11.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.3168, allocations: 90.72 kB / 422.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3168, allocations: 4 kB / 422.5 MB, free: 10.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004949/0.3173, allocations: 133.4 kB / 422.6 MB, free: 10.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3173, allocations: 7.938 kB / 422.7 MB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3173, allocations: 0 / 422.7 MB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.3173, allocations: 4 kB / 422.7 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.3174, allocations: 23.97 kB / 422.7 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.3175, allocations: 4 kB / 422.7 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.3176, allocations: 4.484 kB / 422.7 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.3176, allocations: 4 kB / 422.7 MB, free: 10.74 MB / 378.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.0001331/0.3178, allocations: 168.6 kB / 422.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.563e-05/0.3178, allocations: 15.89 kB / 422.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005549/0.3184, allocations: 189.1 kB / 423.1 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.3184, allocations: 4.031 kB / 423.1 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3184, allocations: 3.984 kB / 423.1 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.3184, allocations: 4 kB / 423.1 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.3186, allocations: 146 kB / 423.2 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3186, allocations: 0 / 423.2 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.3188, allocations: 23.66 kB / 423.2 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3188, allocations: 8 kB / 423.2 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.3188, allocations: 7.875 kB / 423.2 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.3188, allocations: 0 / 423.2 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3188, allocations: 0.625 kB / 423.2 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004545/0.3193, allocations: 188 kB / 423.4 MB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.3194, allocations: 48.31 kB / 423.5 MB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.3194, allocations: 11.92 kB / 423.5 MB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.3196, allocations: 4 kB / 423.5 MB, free: 9.863 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.3196, allocations: 7.984 kB / 423.5 MB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.3196, allocations: 4 kB / 423.5 MB, free: 9.852 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002118/0.3198, allocations: 191.8 kB / 423.7 MB, free: 9.664 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3198, allocations: 0 / 423.7 MB, free: 9.664 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004984/0.3203, allocations: 135.6 kB / 423.8 MB, free: 9.531 MB / 378.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.0006656/0.321, allocations: 322.6 kB / 424.1 MB, free: 9.207 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003023/0.3213, allocations: 87.56 kB / 424.2 MB, free: 9.117 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3213, allocations: 0 / 424.2 MB, free: 9.117 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.3214, allocations: 43.61 kB / 424.3 MB, free: 9.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.3217, allocations: 43.8 kB / 424.3 MB, free: 9.031 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005986/0.3223, allocations: 270.3 kB / 424.6 MB, free: 8.742 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.272e-05/0.3224, allocations: 71.58 kB / 424.6 MB, free: 8.652 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006364/0.323, allocations: 427.7 kB / 425.1 MB, free: 8.246 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.3232, allocations: 40.45 kB / 425.1 MB, free: 8.207 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3232, allocations: 4 kB / 425.1 MB, free: 8.203 MB / 378.7 MB Notification: Performance of Templates: time 0.0117/0.3349, allocations: 5.667 MB / 430.8 MB, free: 2.586 MB / 378.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 240] 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.958394345943816]