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.001297/0.001297, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001415/0.001415, allocations: 206.8 kB / 24.48 MB, free: 3.695 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.516/1.516, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001604/0.001604, allocations: 43.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2762, allocations: 53.37 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002701/0.2789, allocations: 1.347 MB / 433.7 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.4574/0.7363, allocations: 130.6 MB / 0.5511 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.7364, allocations: 0 / 0.5511 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.199e-05/0.7364, allocations: 7.375 kB / 0.5511 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009243/0.7374, allocations: 238.1 kB / 0.5513 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009836/0.7383, allocations: 407.8 kB / 0.5517 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.7385, allocations: 60.55 kB / 0.5517 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.7385, allocations: 4.047 kB / 0.5518 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.86e-05/0.7386, allocations: 27.17 kB / 0.5518 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.519e-05/0.7386, allocations: 26.42 kB / 0.5518 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.7387, allocations: 2.75 kB / 0.5518 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.7397, allocations: 0.589 MB / 0.5524 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.7398, allocations: 6.531 kB / 0.5524 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.876e-05/0.7398, allocations: 26.16 kB / 0.5524 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007273/0.7405, allocations: 479.7 kB / 0.5529 GB, free: 1.211 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.7405, allocations: 1.031 kB / 0.5529 GB, free: 1.211 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.7405, allocations: 0 / 0.5529 GB, free: 1.211 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.7405, allocations: 1 kB / 0.5529 GB, free: 1.211 MB / 446.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.0006771/0.7412, allocations: 361.8 kB / 0.5532 GB, free: 16.9 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.7412, allocations: 8.656 kB / 0.5532 GB, free: 16.9 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001424/0.7427, allocations: 109.5 kB / 0.5533 GB, free: 16.9 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.743, allocations: 160.7 kB / 0.5535 GB, free: 16.77 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.743, allocations: 5.938 kB / 0.5535 GB, free: 16.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.743, allocations: 1.125 kB / 0.5535 GB, free: 16.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.7432, allocations: 90.34 kB / 0.5536 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.7432, allocations: 4.25 kB / 0.5536 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.7433, allocations: 7.641 kB / 0.5536 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.7433, allocations: 0 / 0.5536 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.7434, allocations: 41.25 kB / 0.5536 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002322/0.7437, allocations: 151.6 kB / 0.5538 GB, free: 16.58 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005146/0.7442, allocations: 129.9 kB / 0.5539 GB, free: 16.53 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.7443, allocations: 35.98 kB / 0.5539 GB, free: 16.52 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002623/0.7446, allocations: 93.34 kB / 0.554 GB, free: 16.51 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.7446, allocations: 39.77 kB / 0.5541 GB, free: 16.47 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.7446, allocations: 3.938 kB / 0.5541 GB, free: 16.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004947/0.7451, allocations: 135.1 kB / 0.5542 GB, free: 16.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.7451, allocations: 84.03 kB / 0.5543 GB, free: 16.34 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.7454, allocations: 153.5 kB / 0.5544 GB, free: 16.24 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.7454, allocations: 26.73 kB / 0.5544 GB, free: 16.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.63e-05/0.7454, allocations: 89.11 kB / 0.5545 GB, free: 16.12 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.7455, allocations: 17.86 kB / 0.5545 GB, free: 16.11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.523e-05/0.7455, allocations: 31.28 kB / 0.5546 GB, free: 16.1 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.7457, allocations: 316.9 kB / 0.5549 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.7458, allocations: 27.67 kB / 0.5549 GB, free: 15.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.7459, allocations: 55.02 kB / 0.555 GB, free: 15.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.7461, allocations: 82.86 kB / 0.555 GB, free: 15.72 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7461, allocations: 3.938 kB / 0.555 GB, free: 15.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003359/0.7464, allocations: 123.6 kB / 0.5552 GB, free: 15.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.7464, allocations: 8.875 kB / 0.5552 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.7465, allocations: 0 / 0.5552 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.7465, allocations: 3.844 kB / 0.5552 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.7466, allocations: 25.98 kB / 0.5552 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.7466, allocations: 2.875 kB / 0.5552 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.7468, allocations: 10.28 kB / 0.5552 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.7469, allocations: 10.84 kB / 0.5552 GB, free: 15.68 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.0001007/0.747, allocations: 118.2 kB / 0.5553 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.747, allocations: 10.23 kB / 0.5553 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005847/0.7476, allocations: 250.9 kB / 0.5556 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.7476, allocations: 0.8438 kB / 0.5556 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.7476, allocations: 2.188 kB / 0.5556 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.7476, allocations: 0.5156 kB / 0.5556 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.7478, allocations: 161 kB / 0.5557 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.7478, allocations: 3.719 kB / 0.5557 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.748, allocations: 21.02 kB / 0.5558 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.748, allocations: 0 / 0.5558 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.748, allocations: 10.06 kB / 0.5558 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.748, allocations: 0 / 0.5558 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.748, allocations: 3.188 kB / 0.5558 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/0.7484, allocations: 182.1 kB / 0.5559 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.7485, allocations: 19.33 kB / 0.556 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.7485, allocations: 4.156 kB / 0.556 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.7487, allocations: 10.56 kB / 0.556 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.7488, allocations: 9.312 kB / 0.556 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.7488, allocations: 3.562 kB / 0.556 GB, free: 15.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001716/0.749, allocations: 131.8 kB / 0.5561 GB, free: 15.22 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.749, allocations: 0.9688 kB / 0.5561 GB, free: 15.22 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005482/0.7495, allocations: 129.7 kB / 0.5562 GB, free: 15.2 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.0006274/0.7501, allocations: 311.6 kB / 0.5565 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002897/0.7504, allocations: 78.41 kB / 0.5566 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.7504, allocations: 2.141 kB / 0.5566 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.7505, allocations: 42.05 kB / 0.5567 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.7508, allocations: 9.844 kB / 0.5567 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00058/0.7513, allocations: 335.4 kB / 0.557 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.677e-05/0.7514, allocations: 71.06 kB / 0.557 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.7515, allocations: 45.8 kB / 0.5571 GB, free: 14.78 MB / 462.1 MB Notification: Performance of SimCode: time 7.41e-07/0.7515, allocations: 3.094 kB / 0.5571 GB, free: 14.78 MB / 462.1 MB Notification: Performance of Templates: time 0.006364/0.7579, allocations: 4.205 MB / 0.5612 GB, free: 14.24 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/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_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: 7.940708606998669]