Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00205/0.00205, allocations: 111.2 kB / 21.93 MB, free: 5.219 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.002456/0.002456, allocations: 214 kB / 25.22 MB, free: 3.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 59.92 kB / 348.4 MB, free: 9.398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2622, allocations: 49.15 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002295/0.2645, allocations: 1.335 MB / 398.9 MB, free: 8.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1641/0.4285, allocations: 129.2 MB / 0.5157 GB, free: 228 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.117e-05/0.4286, allocations: 0 / 0.5157 GB, free: 228 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.961e-05/0.4286, allocations: 3.938 kB / 0.5157 GB, free: 224 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001036/0.4297, allocations: 246.4 kB / 0.516 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.4314, allocations: 0.6342 MB / 0.5166 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.4315, allocations: 59.66 kB / 0.5166 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.4315, allocations: 0 / 0.5166 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.196e-05/0.4316, allocations: 27.91 kB / 0.5167 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.082e-05/0.4317, allocations: 31.91 kB / 0.5167 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.4317, allocations: 0 / 0.5167 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.433, allocations: 0.7563 MB / 0.5174 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.433, allocations: 8 kB / 0.5175 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.732e-05/0.4331, allocations: 27.86 kB / 0.5175 GB, free: 14.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008877/0.434, allocations: 0.5794 MB / 0.518 GB, free: 13.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.434, allocations: 4 kB / 0.518 GB, free: 13.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.434, allocations: 0 / 0.518 GB, free: 13.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.434, allocations: 0 / 0.518 GB, free: 13.86 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.00059/0.4346, allocations: 377.2 kB / 0.5184 GB, free: 13.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.4346, allocations: 11.98 kB / 0.5184 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.4356, allocations: 100.8 kB / 0.5185 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.4359, allocations: 162.4 kB / 0.5187 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.4359, allocations: 11.94 kB / 0.5187 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.4359, allocations: 0 / 0.5187 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.4362, allocations: 95.27 kB / 0.5188 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.4362, allocations: 0 / 0.5188 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.4362, allocations: 0 / 0.5188 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.4362, allocations: 7.984 kB / 0.5188 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.4364, allocations: 51.89 kB / 0.5188 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/0.4366, allocations: 146.6 kB / 0.519 GB, free: 12.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004809/0.4371, allocations: 129 kB / 0.5191 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.4372, allocations: 33.77 kB / 0.5191 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002408/0.4374, allocations: 88.58 kB / 0.5192 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.4375, allocations: 42.48 kB / 0.5192 GB, free: 12.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.4375, allocations: 4 kB / 0.5193 GB, free: 12.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004947/0.438, allocations: 125.6 kB / 0.5194 GB, free: 12.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.438, allocations: 81.05 kB / 0.5195 GB, free: 12.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.4383, allocations: 153.8 kB / 0.5196 GB, free: 12.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.4383, allocations: 29.7 kB / 0.5196 GB, free: 12.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.4384, allocations: 84.14 kB / 0.5197 GB, free: 11.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/0.4384, allocations: 27.73 kB / 0.5197 GB, free: 11.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.224e-05/0.4385, allocations: 37.62 kB / 0.5198 GB, free: 11.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.4386, allocations: 314.8 kB / 0.5201 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.4388, allocations: 27.97 kB / 0.5201 GB, free: 11.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.4389, allocations: 55.41 kB / 0.5201 GB, free: 11.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.4391, allocations: 83.34 kB / 0.5202 GB, free: 11.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4391, allocations: 0 / 0.5202 GB, free: 11.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003542/0.4395, allocations: 117.5 kB / 0.5203 GB, free: 11.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.4395, allocations: 8 kB / 0.5203 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4395, allocations: 4.062 kB / 0.5204 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.4395, allocations: 0 / 0.5204 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.4396, allocations: 31.91 kB / 0.5204 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.4396, allocations: 0 / 0.5204 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.4398, allocations: 8.422 kB / 0.5204 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.4398, allocations: 11.98 kB / 0.5204 GB, free: 11.22 MB / 446.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.0001055/0.4399, allocations: 113.8 kB / 0.5205 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.44, allocations: 4 kB / 0.5205 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006146/0.4406, allocations: 261.2 kB / 0.5208 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.4406, allocations: 0 / 0.5208 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4406, allocations: 4 kB / 0.5208 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4406, allocations: 0 / 0.5208 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.4408, allocations: 166.6 kB / 0.5209 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.4408, allocations: 3.938 kB / 0.5209 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.441, allocations: 24.03 kB / 0.521 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.441, allocations: 8 kB / 0.521 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.441, allocations: 0 / 0.521 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.441, allocations: 4 kB / 0.521 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.441, allocations: 0 / 0.521 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004553/0.4415, allocations: 181.8 kB / 0.5211 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.4415, allocations: 19.94 kB / 0.5212 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.4416, allocations: 0 / 0.5212 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.4417, allocations: 4 kB / 0.5212 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.4418, allocations: 16.05 kB / 0.5212 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.4418, allocations: 4 kB / 0.5212 GB, free: 10.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.4419, allocations: 135.8 kB / 0.5213 GB, free: 10.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4419, allocations: 3.938 kB / 0.5213 GB, free: 10.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005519/0.4425, allocations: 167.5 kB / 0.5215 GB, free: 10.05 MB / 446.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.0008476/0.4433, allocations: 395.7 kB / 0.5218 GB, free: 9.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002831/0.4436, allocations: 75.88 kB / 0.5219 GB, free: 9.586 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4436, allocations: 0 / 0.5219 GB, free: 9.586 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.4437, allocations: 35.97 kB / 0.522 GB, free: 9.551 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.444, allocations: 11.94 kB / 0.522 GB, free: 9.539 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006277/0.4446, allocations: 329 kB / 0.5223 GB, free: 9.184 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.491e-05/0.4447, allocations: 75.19 kB / 0.5224 GB, free: 9.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.4448, allocations: 51.33 kB / 0.5224 GB, free: 9.039 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4448, allocations: 0 / 0.5224 GB, free: 9.039 MB / 446.1 MB Notification: Performance of Templates: time 0.007743/0.4525, allocations: 4.712 MB / 0.527 GB, free: 4.32 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.591974533628672]