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.001799/0.001799, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001841/0.001841, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.495/1.495, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.001595/0.001595, allocations: 51.92 kB / 373.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0963/0.09789, allocations: 53.33 MB / 426.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.00257/0.1005, allocations: 1.382 MB / 428.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3894/0.4898, allocations: 152 MB / 0.5666 GB, free: 6.754 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.907e-05/0.4899, allocations: 0 / 0.5666 GB, free: 6.754 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.4899, allocations: 0 / 0.5666 GB, free: 6.754 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009909/0.4909, allocations: 238.8 kB / 0.5668 GB, free: 6.52 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.4921, allocations: 406.4 kB / 0.5672 GB, free: 6.129 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.4922, allocations: 51.72 kB / 0.5673 GB, free: 6.078 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.654e-05/0.4923, allocations: 4 kB / 0.5673 GB, free: 6.074 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.682e-05/0.4923, allocations: 23.92 kB / 0.5673 GB, free: 6.051 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.755e-05/0.4924, allocations: 31.84 kB / 0.5673 GB, free: 6.02 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.4924, allocations: 4 kB / 0.5673 GB, free: 6.016 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.4938, allocations: 0.694 MB / 0.568 GB, free: 5.32 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.4938, allocations: 15.98 kB / 0.568 GB, free: 5.305 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.4939, allocations: 23.86 kB / 0.5681 GB, free: 5.281 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009052/0.4948, allocations: 492.3 kB / 0.5685 GB, free: 4.805 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.4948, allocations: 4 kB / 0.5685 GB, free: 4.801 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4948, allocations: 4 kB / 0.5685 GB, free: 4.797 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.4948, allocations: 0 / 0.5685 GB, free: 4.797 MB / 478.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.0006515/0.4954, allocations: 434.5 kB / 0.569 GB, free: 4.324 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.4955, allocations: 8.031 kB / 0.569 GB, free: 4.316 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/0.4969, allocations: 108.8 kB / 0.5691 GB, free: 4.211 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.4972, allocations: 227.8 kB / 0.5693 GB, free: 3.949 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.4972, allocations: 4 kB / 0.5693 GB, free: 3.945 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.4973, allocations: 0 / 0.5693 GB, free: 3.945 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.4975, allocations: 95.27 kB / 0.5694 GB, free: 3.84 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.4975, allocations: 4 kB / 0.5694 GB, free: 3.836 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.4975, allocations: 0 / 0.5694 GB, free: 3.836 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.4975, allocations: 0 / 0.5694 GB, free: 3.836 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.4977, allocations: 47.89 kB / 0.5694 GB, free: 3.789 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/0.498, allocations: 211.5 kB / 0.5696 GB, free: 3.531 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005212/0.4985, allocations: 129.1 kB / 0.5697 GB, free: 3.387 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.4987, allocations: 29.77 kB / 0.5698 GB, free: 3.352 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007702/0.4994, allocations: 0.9862 MB / 0.5707 GB, free: 2.145 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.4995, allocations: 38.5 kB / 0.5708 GB, free: 2.098 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 3.086e-06/0.4995, allocations: 3.984 kB / 0.5708 GB, free: 2.094 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005593/0.5, allocations: 137.5 kB / 0.5709 GB, free: 1.953 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/0.5001, allocations: 77.11 kB / 0.571 GB, free: 1.859 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.5004, allocations: 154.9 kB / 0.5711 GB, free: 1.699 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.5004, allocations: 33.7 kB / 0.5712 GB, free: 1.66 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.604e-05/0.5004, allocations: 80.14 kB / 0.5712 GB, free: 1.578 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.5005, allocations: 27.83 kB / 0.5713 GB, free: 1.551 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.119e-05/0.5006, allocations: 29.7 kB / 0.5713 GB, free: 1.516 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.5007, allocations: 322.8 kB / 0.5716 GB, free: 1.191 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.5008, allocations: 23.98 kB / 0.5716 GB, free: 1.168 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.501, allocations: 56.91 kB / 0.5717 GB, free: 1.102 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.5012, allocations: 85.7 kB / 0.5718 GB, free: 1.008 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5012, allocations: 0 / 0.5718 GB, free: 1.008 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003917/0.5016, allocations: 125.5 kB / 0.5719 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.5016, allocations: 4 kB / 0.5719 GB, free: 0.875 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.5016, allocations: 3.984 kB / 0.5719 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.5017, allocations: 4 kB / 0.5719 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.5018, allocations: 19.97 kB / 0.5719 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.5018, allocations: 8.062 kB / 0.5719 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.502, allocations: 11.94 kB / 0.5719 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.502, allocations: 7.984 kB / 0.5719 GB, free: 0.8203 MB / 478.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.000105/0.5021, allocations: 117.7 kB / 0.5721 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.127e-05/0.5022, allocations: 7.953 kB / 0.5721 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005789/0.5028, allocations: 241.7 kB / 0.5723 GB, free: 456 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/0.5028, allocations: 4 kB / 0.5723 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.5028, allocations: 0.5156 kB / 0.5723 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5028, allocations: 0 / 0.5723 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.503, allocations: 214.9 kB / 0.5725 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.503, allocations: 0 / 0.5725 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.5032, allocations: 24.72 kB / 0.5725 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.5032, allocations: 0 / 0.5725 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.5032, allocations: 8 kB / 0.5725 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.5032, allocations: 7.875 kB / 0.5725 GB, free: 148 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5032, allocations: 0 / 0.5725 GB, free: 148 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004996/0.5037, allocations: 182.4 kB / 0.5727 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.941e-05/0.5038, allocations: 97.02 kB / 0.5728 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.5039, allocations: 0 / 0.5728 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.504, allocations: 12.92 kB / 0.5728 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.5041, allocations: 11.92 kB / 0.5728 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.5041, allocations: 4 kB / 0.5728 GB, free: 15.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.5043, allocations: 131.2 kB / 0.573 GB, free: 15.67 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5043, allocations: 0 / 0.573 GB, free: 15.67 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005356/0.5048, allocations: 131.6 kB / 0.5731 GB, free: 15.54 MB / 494.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.000661/0.5055, allocations: 303.3 kB / 0.5734 GB, free: 15.24 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003179/0.5058, allocations: 75.88 kB / 0.5734 GB, free: 15.17 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5058, allocations: 0 / 0.5734 GB, free: 15.17 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.5059, allocations: 39.91 kB / 0.5735 GB, free: 15.13 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.5062, allocations: 17.56 kB / 0.5735 GB, free: 15.12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006218/0.5068, allocations: 310.5 kB / 0.5738 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.5071, allocations: 0.6846 MB / 0.5745 GB, free: 14.08 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005894/0.5077, allocations: 438.7 kB / 0.5749 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.5078, allocations: 39.39 kB / 0.5749 GB, free: 13.61 MB / 494.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5078, allocations: 0 / 0.5749 GB, free: 13.61 MB / 494.1 MB Notification: Performance of Templates: time 0.01032/0.5182, allocations: 5.23 MB / 0.58 GB, free: 8.391 MB / 494.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.836734130978584]