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.001618/0.001618, allocations: 106.9 kB / 19.8 MB, free: 2.5 MB / 14.72 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.002256/0.002256, allocations: 218.8 kB / 23 MB, free: 5.574 MB / 14.72 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.445/1.445, allocations: 230.2 MB / 256.2 MB, free: 8.551 MB / 206.1 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 0.00192/0.00192, allocations: 63.89 kB / 376.5 MB, free: 3.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2312, allocations: 53.32 MB / 429.8 MB, free: 7.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002363/0.2335, allocations: 1.383 MB / 431.2 MB, free: 6.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.376/0.6096, allocations: 152.1 MB / 0.5696 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.769e-05/0.6096, allocations: 4 kB / 0.5696 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.6097, allocations: 6.141 kB / 0.5696 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008408/0.6105, allocations: 241.5 kB / 0.5698 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000933/0.6114, allocations: 397.3 kB / 0.5702 GB, free: 13 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.6115, allocations: 51.83 kB / 0.5702 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.563e-05/0.6116, allocations: 2.562 kB / 0.5702 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.428e-05/0.6116, allocations: 28.44 kB / 0.5703 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.586e-05/0.6117, allocations: 34.33 kB / 0.5703 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.6117, allocations: 4.281 kB / 0.5703 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.6127, allocations: 0.6893 MB / 0.571 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.6127, allocations: 8.406 kB / 0.571 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.6128, allocations: 20.66 kB / 0.571 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006104/0.6134, allocations: 0.4961 MB / 0.5715 GB, free: 12.9 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.6134, allocations: 0 / 0.5715 GB, free: 12.9 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6134, allocations: 2.203 kB / 0.5715 GB, free: 12.9 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.6134, allocations: 0 / 0.5715 GB, free: 12.9 MB / 462.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.0005617/0.6139, allocations: 436.7 kB / 0.5719 GB, free: 12.49 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.614, allocations: 9.688 kB / 0.5719 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.6153, allocations: 106.8 kB / 0.572 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.6156, allocations: 218.9 kB / 0.5722 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.6156, allocations: 4.203 kB / 0.5722 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.6157, allocations: 10.47 kB / 0.5722 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.6159, allocations: 97.81 kB / 0.5723 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.6159, allocations: 0 / 0.5723 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.6159, allocations: 6.156 kB / 0.5723 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.6159, allocations: 3 kB / 0.5723 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.6161, allocations: 44.7 kB / 0.5724 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.6163, allocations: 218.8 kB / 0.5726 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004638/0.6168, allocations: 115.7 kB / 0.5727 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.6169, allocations: 36.66 kB / 0.5727 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007357/0.6176, allocations: 0.9917 MB / 0.5737 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.6177, allocations: 34.56 kB / 0.5737 GB, free: 10.78 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.6177, allocations: 3.938 kB / 0.5737 GB, free: 10.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004515/0.6181, allocations: 132.2 kB / 0.5739 GB, free: 10.74 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.6182, allocations: 86.14 kB / 0.5739 GB, free: 10.64 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.6184, allocations: 152.9 kB / 0.5741 GB, free: 10.54 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.6184, allocations: 27.48 kB / 0.5741 GB, free: 10.51 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.89e-05/0.6184, allocations: 90.61 kB / 0.5742 GB, free: 10.42 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.6185, allocations: 20.53 kB / 0.5742 GB, free: 10.41 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-05/0.6185, allocations: 30.27 kB / 0.5742 GB, free: 10.39 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6187, allocations: 320.1 kB / 0.5746 GB, free: 10.08 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.852e-05/0.6188, allocations: 25.81 kB / 0.5746 GB, free: 10.08 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.6189, allocations: 52.59 kB / 0.5746 GB, free: 10.04 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.6192, allocations: 88.83 kB / 0.5747 GB, free: 10.01 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6192, allocations: 1.094 kB / 0.5747 GB, free: 10.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003228/0.6195, allocations: 117.2 kB / 0.5748 GB, free: 9.969 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.6195, allocations: 9.719 kB / 0.5748 GB, free: 9.965 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.6195, allocations: 2.484 kB / 0.5748 GB, free: 9.965 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.6195, allocations: 2.125 kB / 0.5748 GB, free: 9.965 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.6197, allocations: 28.91 kB / 0.5749 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.6197, allocations: 4.469 kB / 0.5749 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.6199, allocations: 14.12 kB / 0.5749 GB, free: 9.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.6199, allocations: 10.73 kB / 0.5749 GB, free: 9.953 MB / 462.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 9.182e-05/0.62, allocations: 115.1 kB / 0.575 GB, free: 9.836 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.62, allocations: 9.844 kB / 0.575 GB, free: 9.832 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005374/0.6206, allocations: 242.8 kB / 0.5752 GB, free: 9.777 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.6206, allocations: 0 / 0.5752 GB, free: 9.777 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.6206, allocations: 6.812 kB / 0.5753 GB, free: 9.773 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.6206, allocations: 0 / 0.5753 GB, free: 9.773 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.6208, allocations: 221.3 kB / 0.5755 GB, free: 9.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6208, allocations: 4 kB / 0.5755 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.621, allocations: 22.88 kB / 0.5755 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.621, allocations: 4.859 kB / 0.5755 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.621, allocations: 0 / 0.5755 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.621, allocations: 1.969 kB / 0.5755 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.621, allocations: 1.203 kB / 0.5755 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004165/0.6214, allocations: 183.8 kB / 0.5757 GB, free: 9.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.429e-05/0.6215, allocations: 92.23 kB / 0.5758 GB, free: 9.383 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.6215, allocations: 0 / 0.5758 GB, free: 9.383 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.6217, allocations: 10.28 kB / 0.5758 GB, free: 9.383 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.6217, allocations: 7.172 kB / 0.5758 GB, free: 9.383 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.6218, allocations: 2.875 kB / 0.5758 GB, free: 9.383 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001643/0.6219, allocations: 131.2 kB / 0.5759 GB, free: 9.309 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6219, allocations: 0 / 0.5759 GB, free: 9.309 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004292/0.6223, allocations: 136.8 kB / 0.576 GB, free: 9.281 MB / 462.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 (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.0006634/0.623, allocations: 316.1 kB / 0.5763 GB, free: 9.152 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002659/0.6233, allocations: 75.95 kB / 0.5764 GB, free: 9.148 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6233, allocations: 13.2 kB / 0.5764 GB, free: 9.137 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.6234, allocations: 35.95 kB / 0.5765 GB, free: 9.137 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.6236, allocations: 14.89 kB / 0.5765 GB, free: 9.133 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000546/0.6241, allocations: 316.4 kB / 0.5768 GB, free: 8.898 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.6245, allocations: 0.6875 MB / 0.5774 GB, free: 8.203 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004582/0.6249, allocations: 436.1 kB / 0.5779 GB, free: 8.156 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.625, allocations: 40.88 kB / 0.5779 GB, free: 8.145 MB / 462.1 MB Notification: Performance of SimCode: time 3.91e-07/0.625, allocations: 0 / 0.5779 GB, free: 8.145 MB / 462.1 MB Notification: Performance of Templates: time 0.008738/0.6338, allocations: 5.254 MB / 0.583 GB, free: 6.012 MB / 462.1 MB " [Timeout remaining time 659] 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.784249004907906]