Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001967/0.001967, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 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.00223/0.00223, allocations: 187.7 kB / 23.7 MB, free: 4.191 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.479/1.479, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] 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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 47.92 kB / 370.9 MB, free: 9.219 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2264, allocations: 52.18 MB / 423.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002465/0.2289, allocations: 1.359 MB / 424.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3664/0.5953, allocations: 128.1 MB / 0.5395 GB, free: 1.387 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.519e-05/0.5953, allocations: 0 / 0.5395 GB, free: 1.387 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.534e-05/0.5953, allocations: 5.781 kB / 0.5395 GB, free: 1.387 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.5965, allocations: 380.6 kB / 0.5399 GB, free: 1.379 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.5976, allocations: 0.5178 MB / 0.5404 GB, free: 1.363 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.5977, allocations: 74.73 kB / 0.5405 GB, free: 1.363 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.281e-05/0.5977, allocations: 4.766 kB / 0.5405 GB, free: 1.363 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.103e-05/0.5978, allocations: 31.75 kB / 0.5405 GB, free: 1.363 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.931e-05/0.5979, allocations: 36.53 kB / 0.5405 GB, free: 1.363 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.5979, allocations: 5.344 kB / 0.5405 GB, free: 1.363 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.5992, allocations: 0.9228 MB / 0.5414 GB, free: 1.352 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.567e-05/0.5993, allocations: 11.64 kB / 0.5414 GB, free: 1.352 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.5993, allocations: 29.86 kB / 0.5415 GB, free: 1.352 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008606/0.6002, allocations: 0.6644 MB / 0.5421 GB, free: 1.324 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6002, allocations: 1 kB / 0.5421 GB, free: 1.324 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.6002, allocations: 0.6875 kB / 0.5421 GB, free: 1.324 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.6002, allocations: 0.9375 kB / 0.5421 GB, free: 1.324 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.0006037/0.6008, allocations: 393.5 kB / 0.5425 GB, free: 16.99 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.6008, allocations: 10.25 kB / 0.5425 GB, free: 16.99 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004339/0.6012, allocations: 69.55 kB / 0.5426 GB, free: 16.99 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.6014, allocations: 141.8 kB / 0.5427 GB, free: 16.86 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.6014, allocations: 9.375 kB / 0.5427 GB, free: 16.85 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.6014, allocations: 6.562 kB / 0.5427 GB, free: 16.85 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.6016, allocations: 70.22 kB / 0.5428 GB, free: 16.8 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.6016, allocations: 1.203 kB / 0.5428 GB, free: 16.8 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.6016, allocations: 0.9375 kB / 0.5428 GB, free: 16.8 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.6016, allocations: 1.25 kB / 0.5428 GB, free: 16.8 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.697e-05/0.6017, allocations: 47.28 kB / 0.5428 GB, free: 16.8 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.6019, allocations: 138.3 kB / 0.543 GB, free: 16.67 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.6021, allocations: 118.4 kB / 0.5431 GB, free: 16.62 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.186e-05/0.6022, allocations: 33.05 kB / 0.5431 GB, free: 16.61 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000445/0.6026, allocations: 65.09 kB / 0.5432 GB, free: 16.61 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.6027, allocations: 30.56 kB / 0.5432 GB, free: 16.57 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.6027, allocations: 0.875 kB / 0.5432 GB, free: 16.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003205/0.603, allocations: 127 kB / 0.5433 GB, free: 16.53 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.603, allocations: 84.23 kB / 0.5434 GB, free: 16.43 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.6031, allocations: 139.8 kB / 0.5435 GB, free: 16.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.6032, allocations: 28.58 kB / 0.5436 GB, free: 16.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.6032, allocations: 86.16 kB / 0.5437 GB, free: 16.22 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.6032, allocations: 18.64 kB / 0.5437 GB, free: 16.21 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.6033, allocations: 21.36 kB / 0.5437 GB, free: 16.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.6034, allocations: 320.8 kB / 0.544 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.355e-05/0.6035, allocations: 26.2 kB / 0.544 GB, free: 15.88 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.333e-05/0.6035, allocations: 52.67 kB / 0.5441 GB, free: 15.85 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.6036, allocations: 78.81 kB / 0.5442 GB, free: 15.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6036, allocations: 0 / 0.5442 GB, free: 15.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002253/0.6039, allocations: 114.3 kB / 0.5443 GB, free: 15.78 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.6039, allocations: 6.062 kB / 0.5443 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.6039, allocations: 3.375 kB / 0.5443 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.6039, allocations: 0.9062 kB / 0.5443 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.508e-05/0.604, allocations: 19.83 kB / 0.5443 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.604, allocations: 0.9062 kB / 0.5443 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.859e-05/0.604, allocations: 13.17 kB / 0.5443 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.604, allocations: 3.422 kB / 0.5443 GB, free: 15.78 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 8.346e-05/0.6041, allocations: 112.8 kB / 0.5444 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.183e-05/0.6042, allocations: 17.42 kB / 0.5444 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.6044, allocations: 110.3 kB / 0.5445 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.6044, allocations: 3.469 kB / 0.5445 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.6044, allocations: 1.062 kB / 0.5445 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.6044, allocations: 0 / 0.5445 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.6045, allocations: 132.6 kB / 0.5447 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6045, allocations: 2.531 kB / 0.5447 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.486e-05/0.6046, allocations: 19.81 kB / 0.5447 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.6046, allocations: 2.562 kB / 0.5447 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.6046, allocations: 1.312 kB / 0.5447 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.6046, allocations: 4.781 kB / 0.5447 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.6046, allocations: 2.969 kB / 0.5447 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.6049, allocations: 163.6 kB / 0.5449 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.288e-05/0.6049, allocations: 23 kB / 0.5449 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.6049, allocations: 0.9688 kB / 0.5449 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.259e-05/0.605, allocations: 3.422 kB / 0.5449 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.605, allocations: 7.875 kB / 0.5449 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.605, allocations: 6.406 kB / 0.5449 GB, free: 15.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.73e-05/0.6051, allocations: 112.5 kB / 0.545 GB, free: 15.32 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6051, allocations: 1.094 kB / 0.545 GB, free: 15.32 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004254/0.6055, allocations: 165.4 kB / 0.5452 GB, free: 15.29 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.000883/0.6064, allocations: 424.1 kB / 0.5456 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.6066, allocations: 61.92 kB / 0.5456 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.6066, allocations: 0 / 0.5456 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.573e-05/0.6066, allocations: 30.2 kB / 0.5457 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.6069, allocations: 29.61 kB / 0.5457 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004591/0.6073, allocations: 305.5 kB / 0.546 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.867e-05/0.6074, allocations: 76.06 kB / 0.546 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.185e-05/0.6075, allocations: 20.41 kB / 0.5461 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.6075, allocations: 16.44 kB / 0.5461 GB, free: 14.91 MB / 462.1 MB Notification: Performance of SimCode: time 3.31e-07/0.6075, allocations: 1.094 kB / 0.5461 GB, free: 14.91 MB / 462.1 MB Notification: Performance of Templates: time 0.007746/0.6152, allocations: 4.879 MB / 0.5508 GB, free: 14.43 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 5.005072062835097]