Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001956/0.001956, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 63.55 kB / 307 MB, free: 0.5898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09104/0.09293, allocations: 50.54 MB / 357.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002455/0.09541, allocations: 1.357 MB / 358.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3436/0.4391, allocations: 151.6 MB / 0.4985 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.664e-05/0.4391, allocations: 0 / 0.4985 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.4392, allocations: 7.922 kB / 0.4985 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008468/0.44, allocations: 240 kB / 0.4988 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009546/0.441, allocations: 390.5 kB / 0.4991 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.911e-05/0.4411, allocations: 63.66 kB / 0.4992 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.06e-05/0.4412, allocations: 7.922 kB / 0.4992 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.331e-05/0.4412, allocations: 23.88 kB / 0.4992 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.027e-05/0.4413, allocations: 27.91 kB / 0.4992 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.4413, allocations: 1.594 kB / 0.4992 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.4425, allocations: 0.6355 MB / 0.4999 GB, free: 1.047 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.734e-05/0.4426, allocations: 11.98 kB / 0.4999 GB, free: 1.035 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.032e-05/0.4426, allocations: 19.88 kB / 0.4999 GB, free: 1.016 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007643/0.4434, allocations: 0.4912 MB / 0.5004 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.4434, allocations: 0 / 0.5004 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4434, allocations: 0 / 0.5004 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.4434, allocations: 0 / 0.5004 GB, free: 0.5234 MB / 414.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.0005973/0.444, allocations: 427.8 kB / 0.5008 GB, free: 60 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.4441, allocations: 15.97 kB / 0.5008 GB, free: 44 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/0.4454, allocations: 104.8 kB / 0.5009 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.4457, allocations: 223.9 kB / 0.5011 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.4458, allocations: 4 kB / 0.5011 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.4458, allocations: 3.984 kB / 0.5011 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.4461, allocations: 99.27 kB / 0.5012 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.4461, allocations: 0 / 0.5012 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.4461, allocations: 0 / 0.5012 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.4461, allocations: 2.625 kB / 0.5012 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.4463, allocations: 47.89 kB / 0.5013 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002766/0.4466, allocations: 214.6 kB / 0.5015 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000584/0.4472, allocations: 129.1 kB / 0.5016 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.4473, allocations: 41.75 kB / 0.5016 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008964/0.4482, allocations: 0.9862 MB / 0.5026 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.4482, allocations: 31.44 kB / 0.5026 GB, free: 13.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.4483, allocations: 4 kB / 0.5026 GB, free: 13.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005164/0.4488, allocations: 137.4 kB / 0.5028 GB, free: 13.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.4488, allocations: 77.11 kB / 0.5028 GB, free: 13.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.4491, allocations: 153.8 kB / 0.503 GB, free: 13.42 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.4491, allocations: 29.7 kB / 0.503 GB, free: 13.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.4492, allocations: 84.14 kB / 0.5031 GB, free: 13.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.4492, allocations: 19.66 kB / 0.5031 GB, free: 13.28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.578e-05/0.4493, allocations: 41.67 kB / 0.5032 GB, free: 13.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.4494, allocations: 318.8 kB / 0.5035 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.4496, allocations: 27.97 kB / 0.5035 GB, free: 12.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.4497, allocations: 55.34 kB / 0.5035 GB, free: 12.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.4499, allocations: 83.39 kB / 0.5036 GB, free: 12.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.45, allocations: 0 / 0.5036 GB, free: 12.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003514/0.4503, allocations: 117.5 kB / 0.5037 GB, free: 12.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.4503, allocations: 8 kB / 0.5037 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.4504, allocations: 0 / 0.5037 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.4504, allocations: 3.438 kB / 0.5037 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.4505, allocations: 28.03 kB / 0.5038 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.4505, allocations: 0 / 0.5038 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.4507, allocations: 15.89 kB / 0.5038 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.4508, allocations: 7.984 kB / 0.5038 GB, free: 12.55 MB / 430.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.517e-05/0.4509, allocations: 125.7 kB / 0.5039 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/0.4509, allocations: 4 kB / 0.5039 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006353/0.4516, allocations: 248.1 kB / 0.5041 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.4516, allocations: 0 / 0.5041 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.4516, allocations: 3.938 kB / 0.5042 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.4516, allocations: 7.984 kB / 0.5042 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.4518, allocations: 203 kB / 0.5044 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4518, allocations: 4 kB / 0.5044 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.452, allocations: 23.97 kB / 0.5044 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.452, allocations: 4 kB / 0.5044 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.452, allocations: 3.984 kB / 0.5044 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.452, allocations: 7.938 kB / 0.5044 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4521, allocations: 0 / 0.5044 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004558/0.4525, allocations: 173.8 kB / 0.5046 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.407e-05/0.4526, allocations: 89.12 kB / 0.5046 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.4527, allocations: 8.062 kB / 0.5047 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.4528, allocations: 3.938 kB / 0.5047 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.4529, allocations: 7.984 kB / 0.5047 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.4529, allocations: 11.98 kB / 0.5047 GB, free: 11.54 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000183/0.4531, allocations: 127.2 kB / 0.5048 GB, free: 11.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4531, allocations: 4 kB / 0.5048 GB, free: 11.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004911/0.4536, allocations: 131.9 kB / 0.5049 GB, free: 11.28 MB / 430.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.0007481/0.4544, allocations: 318.2 kB / 0.5052 GB, free: 10.97 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003147/0.4547, allocations: 94.25 kB / 0.5053 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.4547, allocations: 0 / 0.5053 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.4548, allocations: 43.91 kB / 0.5054 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.4551, allocations: 12.12 kB / 0.5054 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005904/0.4557, allocations: 304.4 kB / 0.5057 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.456, allocations: 0.6862 MB / 0.5063 GB, free: 9.789 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006282/0.4567, allocations: 435 kB / 0.5067 GB, free: 9.363 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.4568, allocations: 43.39 kB / 0.5068 GB, free: 9.32 MB / 430.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4568, allocations: 0 / 0.5068 GB, free: 9.32 MB / 430.1 MB Notification: Performance of Templates: time 0.009896/0.4667, allocations: 5.203 MB / 0.5119 GB, free: 4.125 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches