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.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.001796/0.001796, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 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.002327/0.002327, allocations: 204.7 kB / 25.23 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 207.6 MB / 236 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] 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.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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 51.92 kB / 348.4 MB, free: 9.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.284, allocations: 49.16 MB / 397.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002496/0.2865, allocations: 1.375 MB / 399 MB, free: 8.535 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1864/0.4728, allocations: 151.3 MB / 0.5373 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.796e-05/0.4729, allocations: 4 kB / 0.5373 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 5.081e-05/0.4729, allocations: 3.938 kB / 0.5373 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001507/0.4745, allocations: 362.5 kB / 0.5377 GB, free: 9.844 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002726/0.4772, allocations: 0.8268 MB / 0.5385 GB, free: 9.02 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.4774, allocations: 75.7 kB / 0.5386 GB, free: 8.945 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.31e-05/0.4774, allocations: 3.656 kB / 0.5386 GB, free: 8.945 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.573e-05/0.4775, allocations: 39.84 kB / 0.5386 GB, free: 8.906 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.4776, allocations: 31.84 kB / 0.5386 GB, free: 8.875 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.4776, allocations: 4 kB / 0.5386 GB, free: 8.871 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003158/0.4808, allocations: 1.485 MB / 0.5401 GB, free: 7.383 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.495e-05/0.4808, allocations: 19.97 kB / 0.5401 GB, free: 7.363 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.941e-05/0.4809, allocations: 23.88 kB / 0.5401 GB, free: 7.34 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.483, allocations: 0.861 MB / 0.541 GB, free: 6.477 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.483, allocations: 0 / 0.541 GB, free: 6.477 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.483, allocations: 0 / 0.541 GB, free: 6.477 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.483, allocations: 4 kB / 0.541 GB, free: 6.473 MB / 462.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.0009067/0.4839, allocations: 405 kB / 0.5414 GB, free: 6.047 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.4839, allocations: 15.98 kB / 0.5414 GB, free: 6.031 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003687/0.4843, allocations: 36.89 kB / 0.5414 GB, free: 5.996 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.4845, allocations: 146.3 kB / 0.5416 GB, free: 5.828 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.4845, allocations: 384 / 0.5416 GB, free: 5.828 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.4845, allocations: 7.938 kB / 0.5416 GB, free: 5.82 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.4847, allocations: 75.33 kB / 0.5416 GB, free: 5.734 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4847, allocations: 0 / 0.5416 GB, free: 5.734 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.4847, allocations: 0 / 0.5416 GB, free: 5.734 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.4848, allocations: 7.984 kB / 0.5416 GB, free: 5.727 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.4849, allocations: 43.97 kB / 0.5417 GB, free: 5.684 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.4851, allocations: 165.6 kB / 0.5418 GB, free: 5.477 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.4855, allocations: 121.1 kB / 0.542 GB, free: 5.34 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.678e-05/0.4855, allocations: 29.7 kB / 0.542 GB, free: 5.305 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005305/0.4861, allocations: 63.92 kB / 0.5421 GB, free: 5.242 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.4861, allocations: 42.5 kB / 0.5421 GB, free: 5.191 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 2.735e-06/0.4861, allocations: 3.984 kB / 0.5421 GB, free: 5.188 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003828/0.4865, allocations: 109.6 kB / 0.5422 GB, free: 5.074 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.4866, allocations: 89.03 kB / 0.5423 GB, free: 4.969 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.4867, allocations: 137.8 kB / 0.5424 GB, free: 4.824 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.4867, allocations: 25.7 kB / 0.5424 GB, free: 4.793 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.736e-05/0.4868, allocations: 88.14 kB / 0.5425 GB, free: 4.703 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.4868, allocations: 27.73 kB / 0.5426 GB, free: 4.676 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.081e-05/0.4869, allocations: 25.72 kB / 0.5426 GB, free: 4.645 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.487, allocations: 314.8 kB / 0.5429 GB, free: 4.328 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.578e-05/0.4871, allocations: 31.97 kB / 0.5429 GB, free: 4.297 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.308e-05/0.4872, allocations: 47.45 kB / 0.543 GB, free: 4.238 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.4874, allocations: 83.34 kB / 0.543 GB, free: 4.145 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4874, allocations: 0 / 0.543 GB, free: 4.145 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002634/0.4876, allocations: 109.5 kB / 0.5431 GB, free: 4.031 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.4876, allocations: 4 kB / 0.5431 GB, free: 4.027 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4877, allocations: 0 / 0.5431 GB, free: 4.027 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.4877, allocations: 4 kB / 0.5431 GB, free: 4.023 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.608e-05/0.4878, allocations: 19.92 kB / 0.5432 GB, free: 4.004 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.4878, allocations: 4.062 kB / 0.5432 GB, free: 4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.4878, allocations: 8 kB / 0.5432 GB, free: 3.992 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.4878, allocations: 7.938 kB / 0.5432 GB, free: 3.984 MB / 462.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.0001008/0.4879, allocations: 113.8 kB / 0.5433 GB, free: 3.863 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.577e-05/0.488, allocations: 7.953 kB / 0.5433 GB, free: 3.855 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.4882, allocations: 114 kB / 0.5434 GB, free: 3.738 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.4883, allocations: 0 / 0.5434 GB, free: 3.738 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4883, allocations: 4 kB / 0.5434 GB, free: 3.734 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4883, allocations: 4.562 kB / 0.5434 GB, free: 3.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.4884, allocations: 160.6 kB / 0.5436 GB, free: 3.531 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4884, allocations: 0 / 0.5436 GB, free: 3.531 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.726e-05/0.4885, allocations: 12 kB / 0.5436 GB, free: 3.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4885, allocations: 0 / 0.5436 GB, free: 3.52 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.4885, allocations: 11.92 kB / 0.5436 GB, free: 3.508 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.4885, allocations: 4 kB / 0.5436 GB, free: 3.504 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4885, allocations: 0 / 0.5436 GB, free: 3.504 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.4889, allocations: 169.8 kB / 0.5438 GB, free: 3.316 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.4889, allocations: 15.91 kB / 0.5438 GB, free: 3.301 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.4889, allocations: 4.062 kB / 0.5438 GB, free: 3.297 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.175e-05/0.489, allocations: 4 kB / 0.5438 GB, free: 3.293 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.489, allocations: 11.98 kB / 0.5438 GB, free: 3.281 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.489, allocations: 0 / 0.5438 GB, free: 3.281 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.479e-05/0.4891, allocations: 111.3 kB / 0.5439 GB, free: 3.172 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4891, allocations: 4.062 kB / 0.5439 GB, free: 3.168 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006889/0.4898, allocations: 203.3 kB / 0.5441 GB, free: 2.969 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.001395/0.4912, allocations: 0.5174 MB / 0.5446 GB, free: 2.441 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.4914, allocations: 59.91 kB / 0.5447 GB, free: 2.383 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4914, allocations: 0 / 0.5447 GB, free: 2.383 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.222e-05/0.4915, allocations: 35.97 kB / 0.5447 GB, free: 2.348 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.4918, allocations: 28.38 kB / 0.5447 GB, free: 2.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006361/0.4924, allocations: 333.5 kB / 0.545 GB, free: 1.957 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.4928, allocations: 0.6924 MB / 0.5457 GB, free: 1.238 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.304e-05/0.4928, allocations: 19.42 kB / 0.5457 GB, free: 1.219 MB / 462.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4928, allocations: 0 / 0.5457 GB, free: 1.219 MB / 462.1 MB Notification: Performance of Templates: time 0.009725/0.5026, allocations: 4.837 MB / 0.5505 GB, free: 12.38 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.985867021838203]