Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001563/0.001563, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001898/0.001898, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 247.4 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 58.95 kB / 307.6 MB, free: 0.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1036, allocations: 50.52 MB / 358.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002691/0.1063, allocations: 1.378 MB / 359.5 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3122/0.4186, allocations: 151.9 MB / 0.4995 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.628e-05/0.4186, allocations: 4 kB / 0.4995 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.7e-05/0.4187, allocations: 7.922 kB / 0.4995 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.4198, allocations: 375.8 kB / 0.4998 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.4209, allocations: 0.4954 MB / 0.5003 GB, free: 1.172 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.695e-05/0.421, allocations: 83.64 kB / 0.5004 GB, free: 1.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.553e-05/0.421, allocations: 3.938 kB / 0.5004 GB, free: 1.086 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.361e-05/0.4211, allocations: 35.84 kB / 0.5004 GB, free: 1.051 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.471e-05/0.4212, allocations: 31.91 kB / 0.5005 GB, free: 1.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.4212, allocations: 4 kB / 0.5005 GB, free: 1.016 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.4229, allocations: 1.06 MB / 0.5015 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.534e-05/0.423, allocations: 19.91 kB / 0.5015 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.213e-05/0.423, allocations: 27.86 kB / 0.5015 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.4241, allocations: 0.6987 MB / 0.5022 GB, free: 15.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.4241, allocations: 4 kB / 0.5022 GB, free: 15.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4241, allocations: 0 / 0.5022 GB, free: 15.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.4241, allocations: 0 / 0.5022 GB, free: 15.2 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.0005618/0.4247, allocations: 463.7 kB / 0.5027 GB, free: 14.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.4247, allocations: 12.03 kB / 0.5027 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004935/0.4252, allocations: 68.75 kB / 0.5027 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.4254, allocations: 196.5 kB / 0.5029 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.4254, allocations: 7.875 kB / 0.5029 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.4254, allocations: 7.984 kB / 0.5029 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.4256, allocations: 74.86 kB / 0.503 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.4256, allocations: 0 / 0.503 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.4256, allocations: 4 kB / 0.503 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.4256, allocations: 0 / 0.503 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.4258, allocations: 43.91 kB / 0.5031 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002082/0.426, allocations: 194.5 kB / 0.5032 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.4263, allocations: 113.1 kB / 0.5034 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.952e-05/0.4264, allocations: 41.75 kB / 0.5034 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005077/0.4269, allocations: 137 kB / 0.5035 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.4269, allocations: 34.56 kB / 0.5036 GB, free: 13.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.4269, allocations: 3.938 kB / 0.5036 GB, free: 13.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003611/0.4273, allocations: 121.5 kB / 0.5037 GB, free: 13.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.4273, allocations: 81.11 kB / 0.5038 GB, free: 13.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.4275, allocations: 143.8 kB / 0.5039 GB, free: 13.26 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.4275, allocations: 29.7 kB / 0.5039 GB, free: 13.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.505e-05/0.4275, allocations: 84.14 kB / 0.504 GB, free: 13.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.4276, allocations: 19.7 kB / 0.504 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.4276, allocations: 21.7 kB / 0.504 GB, free: 13.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.4277, allocations: 318.8 kB / 0.5043 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.781e-05/0.4278, allocations: 27.98 kB / 0.5044 GB, free: 12.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.841e-05/0.4279, allocations: 51.41 kB / 0.5044 GB, free: 12.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.4281, allocations: 83.7 kB / 0.5045 GB, free: 12.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.4281, allocations: 3.938 kB / 0.5045 GB, free: 12.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002401/0.4283, allocations: 113.4 kB / 0.5046 GB, free: 12.47 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.4283, allocations: 8 kB / 0.5046 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.4283, allocations: 0 / 0.5046 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.4284, allocations: 3.062 kB / 0.5046 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.807e-05/0.4284, allocations: 15.98 kB / 0.5046 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.4284, allocations: 4 kB / 0.5046 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.696e-05/0.4285, allocations: 3.938 kB / 0.5046 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.4285, allocations: 8 kB / 0.5047 GB, free: 12.43 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 7.979e-05/0.4286, allocations: 125.8 kB / 0.5048 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/0.4287, allocations: 7.906 kB / 0.5048 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.4289, allocations: 110.5 kB / 0.5049 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.4289, allocations: 0 / 0.5049 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.4289, allocations: 3.938 kB / 0.5049 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4289, allocations: 0 / 0.5049 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.4291, allocations: 189.6 kB / 0.5051 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4291, allocations: 0 / 0.5051 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.853e-05/0.4292, allocations: 15.94 kB / 0.5051 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.4292, allocations: 4 kB / 0.5051 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.4292, allocations: 0 / 0.5051 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.4292, allocations: 3.984 kB / 0.5051 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4292, allocations: 3.938 kB / 0.5051 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.4296, allocations: 161.8 kB / 0.5053 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.4296, allocations: 97.09 kB / 0.5053 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.4297, allocations: 0 / 0.5053 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.202e-05/0.4297, allocations: 0 / 0.5053 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.4297, allocations: 12.42 kB / 0.5054 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.4298, allocations: 4 kB / 0.5054 GB, free: 11.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.001e-05/0.4298, allocations: 111.2 kB / 0.5055 GB, free: 11.49 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4298, allocations: 0 / 0.5055 GB, free: 11.49 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004972/0.4303, allocations: 171.8 kB / 0.5056 GB, free: 11.32 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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.001059/0.4314, allocations: 424 kB / 0.506 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.4316, allocations: 63.89 kB / 0.5061 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4316, allocations: 3.938 kB / 0.5061 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.733e-05/0.4317, allocations: 31.98 kB / 0.5061 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.432, allocations: 36 kB / 0.5062 GB, free: 10.78 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005498/0.4326, allocations: 334 kB / 0.5065 GB, free: 10.42 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.4328, allocations: 0.6929 MB / 0.5072 GB, free: 9.699 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.4329, allocations: 15.44 kB / 0.5072 GB, free: 9.684 MB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4329, allocations: 0 / 0.5072 GB, free: 9.684 MB / 430.1 MB Notification: Performance of Templates: time 0.006123/0.439, allocations: 4.046 MB / 0.5111 GB, free: 5.648 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches