Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 107.6 kB / 18.39 MB, free: 4.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002007/0.002007, allocations: 191 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002531/0.002531, allocations: 51.94 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1732, allocations: 46.62 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.004472/0.1778, allocations: 1.361 MB / 377.2 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.7085/0.8863, allocations: 150.8 MB / 0.5156 GB, free: 7.035 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.8866, allocations: 0 / 0.5156 GB, free: 7.035 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.005e-05/0.8867, allocations: 3.938 kB / 0.5156 GB, free: 7.031 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006737/0.8934, allocations: 350.5 kB / 0.5159 GB, free: 6.688 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004857/0.8984, allocations: 0.8114 MB / 0.5167 GB, free: 5.879 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.8987, allocations: 75.64 kB / 0.5168 GB, free: 5.805 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.378e-05/0.8987, allocations: 7.875 kB / 0.5168 GB, free: 5.797 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.8989, allocations: 31.91 kB / 0.5168 GB, free: 5.766 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.8991, allocations: 39.83 kB / 0.5168 GB, free: 5.727 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.8991, allocations: 0 / 0.5168 GB, free: 5.727 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01033/0.9095, allocations: 1.407 MB / 0.5182 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.9097, allocations: 7.984 kB / 0.5182 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.9098, allocations: 35.84 kB / 0.5183 GB, free: 4.273 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004197/0.9141, allocations: 0.8535 MB / 0.5191 GB, free: 3.418 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.9141, allocations: 0 / 0.5191 GB, free: 3.418 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.9141, allocations: 0 / 0.5191 GB, free: 3.418 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.9142, allocations: 0 / 0.5191 GB, free: 3.418 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.005689/0.9199, allocations: 467.8 kB / 0.5195 GB, free: 2.914 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.433e-05/0.92, allocations: 16.02 kB / 0.5196 GB, free: 2.898 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006371/0.9206, allocations: 32.84 kB / 0.5196 GB, free: 2.867 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004664/0.9211, allocations: 208.1 kB / 0.5198 GB, free: 2.625 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.9212, allocations: 4.562 kB / 0.5198 GB, free: 2.621 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.9212, allocations: 7.938 kB / 0.5198 GB, free: 2.613 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.9215, allocations: 79.31 kB / 0.5199 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.9216, allocations: 0 / 0.5199 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.9216, allocations: 0 / 0.5199 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.9216, allocations: 0 / 0.5199 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.9218, allocations: 43.97 kB / 0.5199 GB, free: 2.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.9223, allocations: 198.5 kB / 0.5201 GB, free: 2.234 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005126/0.9228, allocations: 113.2 kB / 0.5202 GB, free: 2.105 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.923, allocations: 33.64 kB / 0.5202 GB, free: 2.066 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009971/0.924, allocations: 141 kB / 0.5204 GB, free: 1.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.9242, allocations: 38.56 kB / 0.5204 GB, free: 1.863 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 3.437e-06/0.9242, allocations: 7.938 kB / 0.5204 GB, free: 1.855 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006988/0.9249, allocations: 109.6 kB / 0.5205 GB, free: 1.742 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.836e-05/0.925, allocations: 81.05 kB / 0.5206 GB, free: 1.645 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.9253, allocations: 141.8 kB / 0.5207 GB, free: 1.496 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.9253, allocations: 29.69 kB / 0.5208 GB, free: 1.461 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.16e-05/0.9254, allocations: 88.14 kB / 0.5209 GB, free: 1.371 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.185e-05/0.9255, allocations: 19.66 kB / 0.5209 GB, free: 1.352 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.692e-05/0.9256, allocations: 29.7 kB / 0.5209 GB, free: 1.316 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.9257, allocations: 314.8 kB / 0.5212 GB, free: 1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.9259, allocations: 24.86 kB / 0.5212 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.9261, allocations: 51.41 kB / 0.5213 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.9264, allocations: 87.34 kB / 0.5214 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.9265, allocations: 0 / 0.5214 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005744/0.9271, allocations: 109.9 kB / 0.5215 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.9271, allocations: 4 kB / 0.5215 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.9271, allocations: 3.984 kB / 0.5215 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.188e-05/0.9272, allocations: 4 kB / 0.5215 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.9274, allocations: 20.42 kB / 0.5215 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.9274, allocations: 3.938 kB / 0.5215 GB, free: 0.668 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.9275, allocations: 8.062 kB / 0.5215 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.9276, allocations: 8 kB / 0.5215 GB, free: 0.6523 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.0001574/0.9277, allocations: 113.8 kB / 0.5216 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.9279, allocations: 10.09 kB / 0.5216 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005014/0.9284, allocations: 117.9 kB / 0.5217 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.9284, allocations: 4 kB / 0.5217 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.9284, allocations: 0 / 0.5217 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.9285, allocations: 3.938 kB / 0.5217 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.9288, allocations: 197.5 kB / 0.5219 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.9288, allocations: 0 / 0.5219 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.9289, allocations: 12 kB / 0.5219 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.929, allocations: 0 / 0.5219 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.929, allocations: 0 / 0.5219 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.929, allocations: 7.938 kB / 0.522 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.929, allocations: 3.984 kB / 0.522 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007981/0.9299, allocations: 157.9 kB / 0.5221 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.93, allocations: 93 kB / 0.5222 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.93, allocations: 4 kB / 0.5222 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-05/0.9302, allocations: 0.875 kB / 0.5222 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.371e-05/0.9302, allocations: 7.984 kB / 0.5222 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.9303, allocations: 4 kB / 0.5222 GB, free: 15.83 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.9304, allocations: 111.3 kB / 0.5223 GB, free: 15.72 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.9304, allocations: 0 / 0.5223 GB, free: 15.72 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005482/0.9359, allocations: 207.9 kB / 0.5225 GB, free: 15.52 MB / 462.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.002716/0.9387, allocations: 0.5253 MB / 0.523 GB, free: 14.99 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000573/0.9393, allocations: 59.91 kB / 0.5231 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.9394, allocations: 0 / 0.5231 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.9395, allocations: 31.97 kB / 0.5231 GB, free: 14.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.94, allocations: 28.59 kB / 0.5231 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.9412, allocations: 327.9 kB / 0.5235 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.9417, allocations: 0.6963 MB / 0.5241 GB, free: 13.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.242e-05/0.9418, allocations: 15.44 kB / 0.5242 GB, free: 13.78 MB / 462.1 MB Notification: Performance of SimCode: time 1.453e-06/0.9418, allocations: 0 / 0.5242 GB, free: 13.78 MB / 462.1 MB Notification: Performance of Templates: time 0.02555/0.9674, allocations: 4.848 MB / 0.5289 GB, free: 8.934 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_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_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches