Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 217.2 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 51.92 kB / 378.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2489, allocations: 53.36 MB / 431.6 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002766/0.2516, allocations: 1.382 MB / 433 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3796/0.6312, allocations: 152.1 MB / 0.5714 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.776e-05/0.6313, allocations: 0 / 0.5714 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.303e-05/0.6313, allocations: 6.047 kB / 0.5714 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008591/0.6322, allocations: 245.4 kB / 0.5716 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00095/0.6331, allocations: 410.6 kB / 0.572 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.6332, allocations: 53.62 kB / 0.572 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.393e-05/0.6333, allocations: 4.75 kB / 0.572 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.796e-05/0.6333, allocations: 26.05 kB / 0.5721 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.393e-05/0.6334, allocations: 38.38 kB / 0.5721 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.6334, allocations: 2.719 kB / 0.5721 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.6345, allocations: 0.7022 MB / 0.5728 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.6345, allocations: 9.359 kB / 0.5728 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/0.6346, allocations: 26.5 kB / 0.5728 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008139/0.6354, allocations: 0.4944 MB / 0.5733 GB, free: 12.83 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.6354, allocations: 0 / 0.5733 GB, free: 12.83 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.6354, allocations: 0 / 0.5733 GB, free: 12.83 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.6354, allocations: 0 / 0.5733 GB, free: 12.83 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.0005833/0.636, allocations: 359.5 kB / 0.5737 GB, free: 12.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.636, allocations: 10.5 kB / 0.5737 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/0.6373, allocations: 105.2 kB / 0.5738 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.6376, allocations: 171.1 kB / 0.5739 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.6376, allocations: 0 / 0.5739 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.6376, allocations: 3.984 kB / 0.5739 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.6378, allocations: 91.47 kB / 0.574 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.6378, allocations: 6.344 kB / 0.574 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.6378, allocations: 3.688 kB / 0.574 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.6378, allocations: 0 / 0.574 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.638, allocations: 46.28 kB / 0.5741 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002492/0.6382, allocations: 187.9 kB / 0.5743 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004829/0.6387, allocations: 129.6 kB / 0.5744 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.6388, allocations: 38.31 kB / 0.5744 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/0.6391, allocations: 93.05 kB / 0.5745 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.6391, allocations: 31.77 kB / 0.5745 GB, free: 12.04 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.6391, allocations: 0 / 0.5745 GB, free: 12.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004573/0.6395, allocations: 140.1 kB / 0.5747 GB, free: 11.99 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.6396, allocations: 80.42 kB / 0.5747 GB, free: 11.9 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.6398, allocations: 157.9 kB / 0.5749 GB, free: 11.8 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.6398, allocations: 25.7 kB / 0.5749 GB, free: 11.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.6399, allocations: 88.27 kB / 0.575 GB, free: 11.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.6399, allocations: 20.02 kB / 0.575 GB, free: 11.67 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.64, allocations: 30.66 kB / 0.5751 GB, free: 11.66 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.6401, allocations: 324.4 kB / 0.5754 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-05/0.6402, allocations: 26.02 kB / 0.5754 GB, free: 11.34 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.6403, allocations: 49.52 kB / 0.5754 GB, free: 11.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.6405, allocations: 92.02 kB / 0.5755 GB, free: 11.27 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6406, allocations: 0 / 0.5755 GB, free: 11.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003236/0.6409, allocations: 113.9 kB / 0.5756 GB, free: 11.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.6409, allocations: 10.03 kB / 0.5756 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.6409, allocations: 0 / 0.5756 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.6409, allocations: 2.344 kB / 0.5756 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.641, allocations: 29.48 kB / 0.5757 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.6411, allocations: 480 / 0.5757 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.6412, allocations: 15.5 kB / 0.5757 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.6413, allocations: 7.906 kB / 0.5757 GB, free: 11.21 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.961e-05/0.6414, allocations: 119.9 kB / 0.5758 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.6414, allocations: 8.547 kB / 0.5758 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005258/0.6419, allocations: 250.6 kB / 0.5761 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.6419, allocations: 0 / 0.5761 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.6419, allocations: 2.594 kB / 0.5761 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.6419, allocations: 3.938 kB / 0.5761 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.6422, allocations: 195.7 kB / 0.5762 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6422, allocations: 0 / 0.5762 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.6423, allocations: 27.22 kB / 0.5763 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.6424, allocations: 0 / 0.5763 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.6424, allocations: 6.094 kB / 0.5763 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6424, allocations: 4 kB / 0.5763 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6424, allocations: 0 / 0.5763 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004081/0.6428, allocations: 182.5 kB / 0.5765 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.6428, allocations: 18 kB / 0.5765 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.6429, allocations: 6.734 kB / 0.5765 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.6431, allocations: 12.42 kB / 0.5765 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.6431, allocations: 7.219 kB / 0.5765 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.6431, allocations: 2.062 kB / 0.5765 GB, free: 10.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001623/0.6433, allocations: 139 kB / 0.5766 GB, free: 10.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6433, allocations: 0 / 0.5766 GB, free: 10.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004534/0.6437, allocations: 131.8 kB / 0.5768 GB, free: 10.67 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.0005656/0.6443, allocations: 301.6 kB / 0.577 GB, free: 10.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002731/0.6446, allocations: 83.22 kB / 0.5771 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6446, allocations: 2.469 kB / 0.5771 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.6447, allocations: 37.98 kB / 0.5772 GB, free: 10.53 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.6449, allocations: 12.22 kB / 0.5772 GB, free: 10.53 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005733/0.6455, allocations: 304.8 kB / 0.5775 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.6458, allocations: 0.6879 MB / 0.5781 GB, free: 9.609 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004811/0.6463, allocations: 435.6 kB / 0.5786 GB, free: 9.562 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.6464, allocations: 41.77 kB / 0.5786 GB, free: 9.551 MB / 462.1 MB Notification: Performance of SimCode: time 3.4e-07/0.6464, allocations: 1.203 kB / 0.5786 GB, free: 9.551 MB / 462.1 MB Notification: Performance of Templates: time 0.00902/0.6554, allocations: 5.272 MB / 0.5837 GB, free: 7.371 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.94172137696296]