Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001412/0.001412, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 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.00146/0.00146, allocations: 215.9 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 47.86 kB / 378.2 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2133, allocations: 53.37 MB / 431.6 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00233/0.2156, allocations: 1.349 MB / 432.9 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3724/0.588, allocations: 130.9 MB / 0.5506 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.843e-05/0.5881, allocations: 5.969 kB / 0.5506 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.733e-05/0.5881, allocations: 8.75 kB / 0.5506 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.5892, allocations: 374.6 kB / 0.551 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.5902, allocations: 0.5207 MB / 0.5515 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.5904, allocations: 77.12 kB / 0.5516 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.261e-05/0.5904, allocations: 2.25 kB / 0.5516 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.94e-05/0.5904, allocations: 35.72 kB / 0.5516 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.475e-05/0.5905, allocations: 33.81 kB / 0.5516 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.5905, allocations: 2.375 kB / 0.5516 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.5921, allocations: 0.9391 MB / 0.5526 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.726e-05/0.5921, allocations: 14.92 kB / 0.5526 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.5922, allocations: 23.73 kB / 0.5526 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009148/0.5931, allocations: 0.6708 MB / 0.5533 GB, free: 15.9 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5931, allocations: 1.312 kB / 0.5533 GB, free: 15.9 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.5931, allocations: 0 / 0.5533 GB, free: 15.9 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.5931, allocations: 0 / 0.5533 GB, free: 15.9 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.0005797/0.5937, allocations: 386.7 kB / 0.5536 GB, free: 15.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.5937, allocations: 11 kB / 0.5536 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000414/0.5941, allocations: 72.17 kB / 0.5537 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.5943, allocations: 141 kB / 0.5538 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.5943, allocations: 8.703 kB / 0.5538 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.5943, allocations: 4.438 kB / 0.5539 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.5944, allocations: 77.36 kB / 0.5539 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.5945, allocations: 2.5 kB / 0.5539 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.5945, allocations: 0 / 0.5539 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.5945, allocations: 0 / 0.5539 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.558e-05/0.5946, allocations: 41.66 kB / 0.554 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.5947, allocations: 138.9 kB / 0.5541 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.595, allocations: 110.9 kB / 0.5542 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.079e-05/0.5951, allocations: 40.28 kB / 0.5542 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004445/0.5955, allocations: 66.12 kB / 0.5543 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.5956, allocations: 39.69 kB / 0.5543 GB, free: 15.13 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.5956, allocations: 0 / 0.5543 GB, free: 15.13 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.000324/0.5959, allocations: 120.3 kB / 0.5545 GB, free: 15.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.5959, allocations: 80.83 kB / 0.5545 GB, free: 15 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.5961, allocations: 144.7 kB / 0.5547 GB, free: 14.9 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.5961, allocations: 25.7 kB / 0.5547 GB, free: 14.87 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.5961, allocations: 89.38 kB / 0.5548 GB, free: 14.79 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.5962, allocations: 22.95 kB / 0.5548 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.5962, allocations: 25.12 kB / 0.5548 GB, free: 14.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5963, allocations: 319.5 kB / 0.5551 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.09e-05/0.5964, allocations: 22.17 kB / 0.5552 GB, free: 14.44 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.545e-05/0.5965, allocations: 51.59 kB / 0.5552 GB, free: 14.41 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.5966, allocations: 86.11 kB / 0.5553 GB, free: 14.37 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5966, allocations: 2.656 kB / 0.5553 GB, free: 14.37 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002265/0.5968, allocations: 117.1 kB / 0.5554 GB, free: 14.33 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.5968, allocations: 5.219 kB / 0.5554 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.5969, allocations: 0 / 0.5554 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.5969, allocations: 3.578 kB / 0.5554 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.169e-05/0.5969, allocations: 19.11 kB / 0.5554 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.5969, allocations: 5.719 kB / 0.5554 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.861e-05/0.597, allocations: 7.578 kB / 0.5554 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.597, allocations: 2.844 kB / 0.5554 GB, free: 14.32 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.25e-05/0.5971, allocations: 116.6 kB / 0.5556 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.203e-05/0.5971, allocations: 9.406 kB / 0.5556 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.5973, allocations: 113.6 kB / 0.5557 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.5973, allocations: 4.688 kB / 0.5557 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5973, allocations: 0.5625 kB / 0.5557 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.5974, allocations: 0 / 0.5557 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.5975, allocations: 133.6 kB / 0.5558 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5975, allocations: 0 / 0.5558 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.641e-05/0.5975, allocations: 15.7 kB / 0.5558 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5975, allocations: 1.969 kB / 0.5558 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.5976, allocations: 7 kB / 0.5558 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.5976, allocations: 4 kB / 0.5558 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5976, allocations: 0 / 0.5558 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.5979, allocations: 160 kB / 0.556 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.5979, allocations: 17.19 kB / 0.556 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.5979, allocations: 4.062 kB / 0.556 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.289e-05/0.5979, allocations: 5.297 kB / 0.556 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.598, allocations: 8.734 kB / 0.556 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.598, allocations: 6.688 kB / 0.556 GB, free: 13.94 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.091e-05/0.5981, allocations: 110 kB / 0.5561 GB, free: 13.86 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5981, allocations: 0 / 0.5561 GB, free: 13.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004497/0.5985, allocations: 166.2 kB / 0.5563 GB, free: 13.83 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.0007787/0.5993, allocations: 412.8 kB / 0.5567 GB, free: 13.69 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.5995, allocations: 60.83 kB / 0.5567 GB, free: 13.69 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5995, allocations: 4.125 kB / 0.5567 GB, free: 13.69 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.91e-05/0.5995, allocations: 39.8 kB / 0.5568 GB, free: 13.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.5998, allocations: 32.91 kB / 0.5568 GB, free: 13.68 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005024/0.6003, allocations: 312 kB / 0.5571 GB, free: 13.44 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.723e-05/0.6003, allocations: 83.67 kB / 0.5572 GB, free: 13.36 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.083e-05/0.6004, allocations: 15.94 kB / 0.5572 GB, free: 13.36 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.6004, allocations: 15.64 kB / 0.5572 GB, free: 13.35 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.6004, allocations: 4 kB / 0.5572 GB, free: 13.34 MB / 462.1 MB Notification: Performance of Templates: time 0.007728/0.6081, allocations: 4.877 MB / 0.562 GB, free: 12.8 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.989333411678672]