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.001029/0.001029, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00162/0.00265, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001105/0.001105, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001549/0.002654, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9618/0.9618, allocations: 173.4 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07953/1.041, allocations: 52.5 MB / 238.3 MB, free: 4.434 MB / 234.7 MB " [Timeout remaining time 179] 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 1.333e-06/1.333e-06, allocations: 0 / 239.5 MB, free: 3.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.454e-05, allocations: 10.81 kB / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002161/0.002176, allocations: 1.435 MB / 241 MB, free: 1.738 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.2162/0.2184, allocations: 141.8 MB / 382.8 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.258e-05/0.2184, allocations: 0 / 382.8 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.2184, allocations: 7.938 kB / 382.8 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008729/0.2193, allocations: 368 kB / 383.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008442/0.2201, allocations: 0.4994 MB / 383.7 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.2202, allocations: 79.58 kB / 383.8 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.2203, allocations: 4 kB / 383.8 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.065e-05/0.2204, allocations: 55.83 kB / 383.8 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.731e-05/0.2205, allocations: 31.89 kB / 383.8 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.2205, allocations: 0 / 383.8 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.2217, allocations: 0.9697 MB / 384.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.818e-05/0.2218, allocations: 7.938 kB / 384.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.2218, allocations: 23.94 kB / 384.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008505/0.2227, allocations: 0.6391 MB / 385.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.305e-05/0.2227, allocations: 0 / 385.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2227, allocations: 0 / 385.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.2227, allocations: 0 / 385.5 MB, free: 14.98 MB / 362.7 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.0005071/0.2232, allocations: 431.4 kB / 385.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.685e-05/0.2232, allocations: 12.03 kB / 385.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005531/0.2238, allocations: 153.9 kB / 386.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.67e-05/0.2239, allocations: 132.5 kB / 386.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.2239, allocations: 384 / 386.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.2239, allocations: 12.55 kB / 386.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.123e-05/0.224, allocations: 74.86 kB / 386.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-06/0.224, allocations: 3.938 kB / 386.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-06/0.224, allocations: 4 kB / 386.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.224, allocations: 0 / 386.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.625e-05/0.224, allocations: 17.59 kB / 386.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.89e-05/0.2241, allocations: 75.55 kB / 386.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.2243, allocations: 72.53 kB / 386.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.811e-05/0.2243, allocations: 21.7 kB / 386.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001907/0.2245, allocations: 47.95 kB / 386.5 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.2245, allocations: 34.5 kB / 386.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.51e-07/0.2245, allocations: 0 / 386.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001423/0.2246, allocations: 77.44 kB / 386.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.2247, allocations: 77.11 kB / 386.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.645e-05/0.2247, allocations: 140.3 kB / 386.8 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.607e-06/0.2247, allocations: 25.7 kB / 386.9 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.261e-05/0.2248, allocations: 84.14 kB / 387 MB, free: 13.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.2248, allocations: 31.77 kB / 387 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.2248, allocations: 17.72 kB / 387 MB, free: 13.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.685e-05/0.2249, allocations: 322.8 kB / 387.3 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.2249, allocations: 6.828 kB / 387.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.139e-05/0.2249, allocations: 27.44 kB / 387.3 MB, free: 12.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.762e-05/0.225, allocations: 57.36 kB / 387.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.225, allocations: 0 / 387.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.164e-05/0.2251, allocations: 79.19 kB / 387.5 MB, free: 12.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.2251, allocations: 8 kB / 387.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2251, allocations: 0 / 387.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.2251, allocations: 3.938 kB / 387.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.701e-05/0.2251, allocations: 19.98 kB / 387.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.2251, allocations: 2.266 kB / 387.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.268e-05/0.2252, allocations: 7.938 kB / 387.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.2252, allocations: 64 / 387.5 MB, free: 12.7 MB / 362.7 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 4.829e-05/0.2252, allocations: 120.7 kB / 387.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.2253, allocations: 11.92 kB / 387.7 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.896e-05/0.2253, allocations: 70.11 kB / 387.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2253, allocations: 3.938 kB / 387.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.2253, allocations: 1.25 kB / 387.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.2254, allocations: 3.984 kB / 387.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.707e-05/0.2254, allocations: 81.83 kB / 387.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2254, allocations: 0 / 387.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.413e-05/0.2255, allocations: 19.92 kB / 387.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.2255, allocations: 8 kB / 387.8 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.2255, allocations: 0 / 387.8 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.2255, allocations: 7.984 kB / 387.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.2255, allocations: 6.75 kB / 387.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2255, allocations: 3.938 kB / 387.9 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.2256, allocations: 98.41 kB / 388 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.2256, allocations: 4 kB / 388 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.635e-05/0.2256, allocations: 0 / 388 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.2257, allocations: 15.86 kB / 388 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.2257, allocations: 0 / 388 MB, free: 12.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.442e-05/0.2257, allocations: 36.34 kB / 388 MB, free: 12.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2257, allocations: 0 / 388 MB, free: 12.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003451/0.226, allocations: 179.3 kB / 388.2 MB, free: 11.98 MB / 362.7 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.0007235/0.2268, allocations: 450.2 kB / 388.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.446e-05/0.2268, allocations: 40.77 kB / 388.7 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2268, allocations: 5 kB / 388.7 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.829e-05/0.2269, allocations: 16.84 kB / 388.7 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.227, allocations: 34.64 kB / 388.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.2283, allocations: 233.6 kB / 388.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.707e-05/0.2284, allocations: 63.34 kB / 389 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.058e-05/0.2284, allocations: 19.78 kB / 389 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.973e-05/0.2285, allocations: 75.28 kB / 389.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2285, allocations: 0 / 389.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of Templates: time 0.007145/0.2356, allocations: 6.528 MB / 395.6 MB, free: 4.543 MB / 362.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8209506878629327]