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.001352/0.001352, allocations: 73.56 kB / 21.24 MB, free: 0.5547 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.001487/0.001487, allocations: 158.9 kB / 24.5 MB, free: 3.715 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.441/1.441, allocations: 177.2 MB / 204.9 MB, free: 9.008 MB / 190.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.002267/0.002267, allocations: 54.95 kB / 325.6 MB, free: 476 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1076, allocations: 53.34 MB / 378.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002453/0.11, allocations: 1.35 MB / 380.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.349/0.4591, allocations: 130.6 MB / 0.4989 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.731e-05/0.4591, allocations: 0 / 0.4989 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.398e-05/0.4591, allocations: 8.438 kB / 0.4989 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008636/0.46, allocations: 241.4 kB / 0.4991 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009241/0.4609, allocations: 402.6 kB / 0.4995 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.602e-05/0.461, allocations: 60.3 kB / 0.4996 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.386e-05/0.461, allocations: 2.484 kB / 0.4996 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.436e-05/0.4611, allocations: 30.69 kB / 0.4996 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.231e-05/0.4612, allocations: 28.34 kB / 0.4996 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.4612, allocations: 2 kB / 0.4996 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008807/0.4621, allocations: 0.5657 MB / 0.5002 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.4621, allocations: 4.312 kB / 0.5002 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.949e-05/0.4621, allocations: 21.47 kB / 0.5002 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006159/0.4627, allocations: 487.2 kB / 0.5007 GB, free: 14.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4627, allocations: 1.094 kB / 0.5007 GB, free: 14.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4627, allocations: 0 / 0.5007 GB, free: 14.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.4627, allocations: 0 / 0.5007 GB, free: 14.8 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.0005543/0.4633, allocations: 359.8 kB / 0.501 GB, free: 14.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.4633, allocations: 10.72 kB / 0.501 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.4647, allocations: 110.4 kB / 0.5012 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.4649, allocations: 167.4 kB / 0.5013 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.4649, allocations: 2.781 kB / 0.5013 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.465, allocations: 2.938 kB / 0.5013 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.4652, allocations: 94.28 kB / 0.5014 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4652, allocations: 6.375 kB / 0.5014 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.4652, allocations: 0 / 0.5014 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.4652, allocations: 1.094 kB / 0.5014 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.4654, allocations: 45.31 kB / 0.5015 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/0.4656, allocations: 152.6 kB / 0.5016 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.4661, allocations: 125.4 kB / 0.5017 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.4662, allocations: 40.83 kB / 0.5018 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002209/0.4664, allocations: 90.61 kB / 0.5018 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.4664, allocations: 36.33 kB / 0.5019 GB, free: 14.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.113e-06/0.4664, allocations: 2.719 kB / 0.5019 GB, free: 14.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004675/0.4669, allocations: 130.9 kB / 0.502 GB, free: 14.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.467, allocations: 85.27 kB / 0.5021 GB, free: 13.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.4672, allocations: 152.7 kB / 0.5022 GB, free: 13.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.4672, allocations: 25.7 kB / 0.5023 GB, free: 13.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/0.4672, allocations: 86.36 kB / 0.5023 GB, free: 13.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.4673, allocations: 20.31 kB / 0.5024 GB, free: 13.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.4673, allocations: 32.95 kB / 0.5024 GB, free: 13.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.4675, allocations: 318.8 kB / 0.5027 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.64e-05/0.4676, allocations: 22.95 kB / 0.5027 GB, free: 13.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.4677, allocations: 58.22 kB / 0.5028 GB, free: 13.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.4679, allocations: 86.34 kB / 0.5029 GB, free: 13.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.4679, allocations: 6.766 kB / 0.5029 GB, free: 13.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003398/0.4683, allocations: 121.5 kB / 0.503 GB, free: 13.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.4683, allocations: 4.938 kB / 0.503 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4683, allocations: 2.266 kB / 0.503 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.4683, allocations: 2.688 kB / 0.503 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.4684, allocations: 33.52 kB / 0.503 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.4684, allocations: 7 kB / 0.503 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.4686, allocations: 8.984 kB / 0.503 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.4686, allocations: 8.141 kB / 0.503 GB, free: 13.23 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 9.03e-05/0.4687, allocations: 112.8 kB / 0.5032 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.4688, allocations: 8.547 kB / 0.5032 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005478/0.4693, allocations: 253.2 kB / 0.5034 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.4693, allocations: 0 / 0.5034 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.4693, allocations: 2.656 kB / 0.5034 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4693, allocations: 1.688 kB / 0.5034 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.4695, allocations: 162.3 kB / 0.5036 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4695, allocations: 2.75 kB / 0.5036 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.4697, allocations: 28.84 kB / 0.5036 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.4697, allocations: 0 / 0.5036 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.4697, allocations: 2.875 kB / 0.5036 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4697, allocations: 4 kB / 0.5036 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4697, allocations: 0 / 0.5036 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004241/0.4701, allocations: 188.4 kB / 0.5038 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.453e-05/0.4702, allocations: 20.17 kB / 0.5038 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.4702, allocations: 2.656 kB / 0.5038 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.4704, allocations: 4.578 kB / 0.5038 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.4704, allocations: 10.84 kB / 0.5038 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.4705, allocations: 5.141 kB / 0.5038 GB, free: 12.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001728/0.4706, allocations: 133.6 kB / 0.5039 GB, free: 12.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4706, allocations: 0 / 0.5039 GB, free: 12.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005599/0.4712, allocations: 132.4 kB / 0.5041 GB, free: 12.73 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.000568/0.4718, allocations: 303.3 kB / 0.5044 GB, free: 12.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003129/0.4721, allocations: 75.41 kB / 0.5044 GB, free: 12.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4721, allocations: 0 / 0.5044 GB, free: 12.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.4722, allocations: 44.23 kB / 0.5045 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.4724, allocations: 17.56 kB / 0.5045 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006077/0.473, allocations: 304.4 kB / 0.5048 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.838e-05/0.4731, allocations: 72.16 kB / 0.5049 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004973/0.4736, allocations: 438.2 kB / 0.5053 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.4737, allocations: 39.5 kB / 0.5053 GB, free: 12.24 MB / 446.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4737, allocations: 0 / 0.5053 GB, free: 12.24 MB / 446.1 MB Notification: Performance of Templates: time 0.0094/0.4831, allocations: 5.469 MB / 0.5106 GB, free: 10.12 MB / 446.1 MB " [Timeout remaining time 660] 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 -s ida -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: 4.740810650051571]