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.00135/0.00135, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001456/0.001456, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.442/1.442, allocations: 230.5 MB / 258.1 MB, free: 7.969 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.001916/0.001916, allocations: 67.89 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2475, allocations: 53.41 MB / 432.4 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002751/0.2503, allocations: 1.385 MB / 433.8 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.4064/0.6567, allocations: 152.1 MB / 0.5722 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.83e-05/0.6567, allocations: 0 / 0.5722 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.392e-05/0.6567, allocations: 9.719 kB / 0.5722 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008977/0.6576, allocations: 243.4 kB / 0.5724 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.6587, allocations: 406.2 kB / 0.5728 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.6588, allocations: 58.06 kB / 0.5728 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.988e-05/0.6588, allocations: 2.531 kB / 0.5728 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.658e-05/0.6589, allocations: 31.78 kB / 0.5729 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.964e-05/0.6589, allocations: 31.45 kB / 0.5729 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.659, allocations: 4 kB / 0.5729 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.6601, allocations: 0.7019 MB / 0.5736 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.6601, allocations: 10.56 kB / 0.5736 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.6601, allocations: 24.84 kB / 0.5736 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007396/0.6609, allocations: 0.4934 MB / 0.5741 GB, free: 12.8 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.6609, allocations: 0 / 0.5741 GB, free: 12.8 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.6609, allocations: 1.125 kB / 0.5741 GB, free: 12.8 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.6609, allocations: 0 / 0.5741 GB, free: 12.8 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.0005706/0.6614, allocations: 362.9 kB / 0.5745 GB, free: 12.49 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.6615, allocations: 7.844 kB / 0.5745 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.6627, allocations: 111.2 kB / 0.5746 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.663, allocations: 160.3 kB / 0.5747 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.663, allocations: 2.594 kB / 0.5747 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.6631, allocations: 4.188 kB / 0.5747 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.6633, allocations: 98.11 kB / 0.5748 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.6633, allocations: 0 / 0.5748 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.6633, allocations: 0 / 0.5748 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.6633, allocations: 2.219 kB / 0.5748 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.6634, allocations: 47.16 kB / 0.5749 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002565/0.6637, allocations: 182.3 kB / 0.575 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004915/0.6642, allocations: 131.3 kB / 0.5752 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.6643, allocations: 35.89 kB / 0.5752 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002324/0.6645, allocations: 95.64 kB / 0.5753 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.6646, allocations: 37.56 kB / 0.5753 GB, free: 12.01 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.6646, allocations: 0 / 0.5753 GB, free: 12.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004561/0.665, allocations: 135.5 kB / 0.5755 GB, free: 11.97 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.6651, allocations: 79.52 kB / 0.5755 GB, free: 11.88 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.6653, allocations: 157.4 kB / 0.5757 GB, free: 11.77 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.6653, allocations: 25.7 kB / 0.5757 GB, free: 11.74 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.6653, allocations: 87.45 kB / 0.5758 GB, free: 11.66 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.6654, allocations: 21.88 kB / 0.5758 GB, free: 11.64 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.241e-05/0.6654, allocations: 31.02 kB / 0.5758 GB, free: 11.63 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.6656, allocations: 322.6 kB / 0.5761 GB, free: 11.31 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.524e-05/0.6657, allocations: 23 kB / 0.5762 GB, free: 11.31 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.6658, allocations: 60.19 kB / 0.5762 GB, free: 11.28 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.666, allocations: 84.03 kB / 0.5763 GB, free: 11.24 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.666, allocations: 1.125 kB / 0.5763 GB, free: 11.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003094/0.6663, allocations: 122.5 kB / 0.5764 GB, free: 11.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.6663, allocations: 8.219 kB / 0.5764 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.6663, allocations: 6.25 kB / 0.5764 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.6663, allocations: 0 / 0.5764 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.6665, allocations: 29.05 kB / 0.5765 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.6665, allocations: 3.25 kB / 0.5765 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.6667, allocations: 12.19 kB / 0.5765 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.6667, allocations: 6.656 kB / 0.5765 GB, free: 11.19 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 0.0001009/0.6668, allocations: 115.4 kB / 0.5766 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-05/0.6668, allocations: 6.547 kB / 0.5766 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005416/0.6674, allocations: 251.8 kB / 0.5768 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.6674, allocations: 2.656 kB / 0.5768 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6674, allocations: 6.188 kB / 0.5769 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.6674, allocations: 0 / 0.5769 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.6676, allocations: 197.1 kB / 0.577 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.6676, allocations: 4.062 kB / 0.577 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.6678, allocations: 29.55 kB / 0.5771 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.6678, allocations: 2.094 kB / 0.5771 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.6678, allocations: 2.438 kB / 0.5771 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6678, allocations: 0 / 0.5771 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6678, allocations: 0 / 0.5771 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000422/0.6682, allocations: 179.9 kB / 0.5772 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.6683, allocations: 22.34 kB / 0.5773 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.6683, allocations: 5.438 kB / 0.5773 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.6685, allocations: 2.469 kB / 0.5773 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.6685, allocations: 9.594 kB / 0.5773 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.6685, allocations: 12.98 kB / 0.5773 GB, free: 10.74 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000148/0.6687, allocations: 126.6 kB / 0.5774 GB, free: 10.67 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6687, allocations: 0 / 0.5774 GB, free: 10.67 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005083/0.6692, allocations: 134.2 kB / 0.5775 GB, free: 10.64 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.0005551/0.6698, allocations: 305.1 kB / 0.5778 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002731/0.67, allocations: 75.3 kB / 0.5779 GB, free: 10.51 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.67, allocations: 2.75 kB / 0.5779 GB, free: 10.51 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.6701, allocations: 41.34 kB / 0.578 GB, free: 10.51 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.6704, allocations: 12.53 kB / 0.578 GB, free: 10.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005831/0.6709, allocations: 324.9 kB / 0.5783 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.6712, allocations: 0.6892 MB / 0.5789 GB, free: 9.555 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.6714, allocations: 48.92 kB / 0.579 GB, free: 9.543 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.6714, allocations: 0 / 0.579 GB, free: 9.543 MB / 462.1 MB Notification: Performance of Templates: time 0.006252/0.6776, allocations: 4.187 MB / 0.5831 GB, free: 8.062 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/jenkins1/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/jenkins1/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: 7.997078072978184]