Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 68.08 kB / 21.24 MB, free: 404 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 160.9 kB / 24.49 MB, free: 3.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 47.55 kB / 319.4 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08537/0.08694, allocations: 52.16 MB / 371.6 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002409/0.08935, allocations: 1.337 MB / 372.9 MB, free: 6.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3579/0.4472, allocations: 127.8 MB / 0.4889 GB, free: 1.203 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.724e-05/0.4473, allocations: 2.719 kB / 0.4889 GB, free: 1.203 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.707e-05/0.4473, allocations: 4.594 kB / 0.4889 GB, free: 1.203 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007685/0.4481, allocations: 241 kB / 0.4892 GB, free: 1.199 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00083/0.4489, allocations: 409.5 kB / 0.4895 GB, free: 1.184 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.181e-05/0.449, allocations: 58.47 kB / 0.4896 GB, free: 1.184 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.393e-05/0.449, allocations: 7.516 kB / 0.4896 GB, free: 1.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.882e-05/0.4491, allocations: 27.22 kB / 0.4896 GB, free: 1.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.069e-05/0.4491, allocations: 24.12 kB / 0.4897 GB, free: 1.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.4492, allocations: 5.922 kB / 0.4897 GB, free: 1.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008724/0.45, allocations: 0.5574 MB / 0.4902 GB, free: 1.172 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.45, allocations: 8.359 kB / 0.4902 GB, free: 1.172 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.4501, allocations: 21.59 kB / 0.4902 GB, free: 1.172 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006117/0.4507, allocations: 479.5 kB / 0.4907 GB, free: 1.145 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4507, allocations: 1.312 kB / 0.4907 GB, free: 1.145 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4507, allocations: 0 / 0.4907 GB, free: 1.145 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.4507, allocations: 0 / 0.4907 GB, free: 1.145 MB / 430.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.0004107/0.4511, allocations: 354.4 kB / 0.491 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.4511, allocations: 12.3 kB / 0.491 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.4522, allocations: 103.8 kB / 0.4911 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.4524, allocations: 169.2 kB / 0.4913 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.4524, allocations: 2.469 kB / 0.4913 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.4524, allocations: 5.75 kB / 0.4913 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.4526, allocations: 89.56 kB / 0.4914 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.4526, allocations: 3 kB / 0.4914 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.4526, allocations: 4.938 kB / 0.4914 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.4526, allocations: 3.984 kB / 0.4914 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.4528, allocations: 41.72 kB / 0.4915 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.4529, allocations: 145.2 kB / 0.4916 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004227/0.4534, allocations: 124.9 kB / 0.4917 GB, free: 472 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.996e-05/0.4535, allocations: 40.56 kB / 0.4917 GB, free: 456 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002089/0.4537, allocations: 89.97 kB / 0.4918 GB, free: 456 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.228e-05/0.4537, allocations: 33.12 kB / 0.4919 GB, free: 416 kB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.4537, allocations: 0 / 0.4919 GB, free: 416 kB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004586/0.4541, allocations: 134.1 kB / 0.492 GB, free: 380 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.995e-05/0.4542, allocations: 82.39 kB / 0.4921 GB, free: 280 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.4543, allocations: 156.2 kB / 0.4922 GB, free: 180 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.4543, allocations: 25.7 kB / 0.4922 GB, free: 148 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.661e-05/0.4544, allocations: 84.81 kB / 0.4923 GB, free: 64 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.4544, allocations: 23.16 kB / 0.4923 GB, free: 48 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/0.4544, allocations: 31.98 kB / 0.4924 GB, free: 32 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4546, allocations: 319.1 kB / 0.4927 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.954e-05/0.4547, allocations: 32.34 kB / 0.4927 GB, free: 15.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.4548, allocations: 49.44 kB / 0.4928 GB, free: 15.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.455, allocations: 89.67 kB / 0.4928 GB, free: 15.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.455, allocations: 3.938 kB / 0.4928 GB, free: 15.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003115/0.4553, allocations: 118.2 kB / 0.493 GB, free: 15.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.4553, allocations: 4.969 kB / 0.493 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4553, allocations: 6.203 kB / 0.493 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.4554, allocations: 480 / 0.493 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.4555, allocations: 34.55 kB / 0.493 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4555, allocations: 3.969 kB / 0.493 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.4557, allocations: 8.031 kB / 0.493 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.4557, allocations: 8.703 kB / 0.493 GB, free: 15.61 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.846e-05/0.4558, allocations: 126.7 kB / 0.4931 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.4558, allocations: 2.844 kB / 0.4931 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005196/0.4563, allocations: 258.2 kB / 0.4934 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.4563, allocations: 1.375 kB / 0.4934 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4564, allocations: 0 / 0.4934 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.4564, allocations: 1.375 kB / 0.4934 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.4565, allocations: 163.8 kB / 0.4936 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4565, allocations: 0 / 0.4936 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.4567, allocations: 21.73 kB / 0.4936 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4567, allocations: 0 / 0.4936 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.4567, allocations: 12.39 kB / 0.4936 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4567, allocations: 0 / 0.4936 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4567, allocations: 1.375 kB / 0.4936 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004107/0.4571, allocations: 185.2 kB / 0.4938 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.4572, allocations: 16.02 kB / 0.4938 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.4572, allocations: 1.375 kB / 0.4938 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.4574, allocations: 9.062 kB / 0.4938 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.4574, allocations: 9.047 kB / 0.4938 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.4574, allocations: 2.75 kB / 0.4938 GB, free: 15.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001676/0.4576, allocations: 137.5 kB / 0.4939 GB, free: 15.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4576, allocations: 0 / 0.4939 GB, free: 15.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004494/0.458, allocations: 135.9 kB / 0.4941 GB, free: 15.11 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.0006033/0.4586, allocations: 313.7 kB / 0.4944 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002603/0.4589, allocations: 80.72 kB / 0.4944 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4589, allocations: 0 / 0.4944 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.459, allocations: 40.66 kB / 0.4945 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.4592, allocations: 15.78 kB / 0.4945 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005767/0.4598, allocations: 294.9 kB / 0.4948 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.12e-05/0.4599, allocations: 78.94 kB / 0.4948 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004729/0.4603, allocations: 435.5 kB / 0.4953 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.4605, allocations: 43.56 kB / 0.4953 GB, free: 14.63 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4605, allocations: 0 / 0.4953 GB, free: 14.63 MB / 446.1 MB Notification: Performance of Templates: time 0.008444/0.4689, allocations: 5.431 MB / 0.5006 GB, free: 13.95 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.604837128077634]