Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.001865/0.001865, 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.002328/0.002328, allocations: 214.4 kB / 23.73 MB, free: 4.156 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.536/1.536, 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 55.86 kB / 378.2 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2268, allocations: 53.36 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.00261/0.2294, allocations: 1.351 MB / 432.9 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3816/0.611, allocations: 130.6 MB / 0.5503 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.396e-05/0.6111, allocations: 0.9375 kB / 0.5503 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.283e-05/0.6111, allocations: 7.562 kB / 0.5503 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007607/0.6118, allocations: 248.9 kB / 0.5506 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008316/0.6127, allocations: 401.2 kB / 0.551 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.72e-05/0.6128, allocations: 58.39 kB / 0.551 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.965e-05/0.6128, allocations: 5.828 kB / 0.551 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.978e-05/0.6128, allocations: 24.22 kB / 0.551 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.706e-05/0.6129, allocations: 30.58 kB / 0.5511 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.6129, allocations: 1.375 kB / 0.5511 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008245/0.6138, allocations: 0.5647 MB / 0.5516 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.6138, allocations: 12.72 kB / 0.5516 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.6138, allocations: 23.56 kB / 0.5517 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00055/0.6144, allocations: 478.2 kB / 0.5521 GB, free: 1.215 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.6144, allocations: 1.203 kB / 0.5521 GB, free: 1.215 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.6144, allocations: 1 kB / 0.5521 GB, free: 1.215 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.6144, allocations: 0 / 0.5521 GB, free: 1.215 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.0005561/0.6149, allocations: 362.6 kB / 0.5525 GB, free: 16.9 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.6149, allocations: 9.594 kB / 0.5525 GB, free: 16.9 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.6162, allocations: 108.9 kB / 0.5526 GB, free: 16.9 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.6164, allocations: 166.7 kB / 0.5527 GB, free: 16.77 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.6164, allocations: 4.094 kB / 0.5527 GB, free: 16.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.6165, allocations: 6.875 kB / 0.5527 GB, free: 16.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.6167, allocations: 88.62 kB / 0.5528 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.6167, allocations: 0 / 0.5528 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.6167, allocations: 0 / 0.5528 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.6167, allocations: 3.562 kB / 0.5528 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.6168, allocations: 50.7 kB / 0.5529 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.617, allocations: 150.8 kB / 0.553 GB, free: 16.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/0.6175, allocations: 127.8 kB / 0.5531 GB, free: 16.54 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.591e-05/0.6176, allocations: 33.5 kB / 0.5532 GB, free: 16.52 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/0.6177, allocations: 94.89 kB / 0.5533 GB, free: 16.52 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.6178, allocations: 36.91 kB / 0.5533 GB, free: 16.48 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.6178, allocations: 4.984 kB / 0.5533 GB, free: 16.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004422/0.6182, allocations: 133.5 kB / 0.5534 GB, free: 16.44 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.6183, allocations: 81.5 kB / 0.5535 GB, free: 16.34 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.6185, allocations: 159.3 kB / 0.5537 GB, free: 16.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.6185, allocations: 25.7 kB / 0.5537 GB, free: 16.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.6185, allocations: 81.05 kB / 0.5538 GB, free: 16.13 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.6186, allocations: 21.73 kB / 0.5538 GB, free: 16.12 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.6186, allocations: 29.28 kB / 0.5538 GB, free: 16.11 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.6187, allocations: 325.2 kB / 0.5541 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.423e-05/0.6188, allocations: 26.7 kB / 0.5541 GB, free: 15.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.624e-05/0.6189, allocations: 53.28 kB / 0.5542 GB, free: 15.76 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.6191, allocations: 84.5 kB / 0.5543 GB, free: 15.73 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6191, allocations: 3.938 kB / 0.5543 GB, free: 15.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003015/0.6194, allocations: 125.1 kB / 0.5544 GB, free: 15.69 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.6195, allocations: 4.25 kB / 0.5544 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.6195, allocations: 2.906 kB / 0.5544 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.6195, allocations: 3.844 kB / 0.5544 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.6196, allocations: 28.34 kB / 0.5544 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.6196, allocations: 3.672 kB / 0.5544 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.6198, allocations: 9.406 kB / 0.5545 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.6198, allocations: 7.344 kB / 0.5545 GB, free: 15.68 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 9.912e-05/0.6199, allocations: 117 kB / 0.5546 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.6199, allocations: 10.36 kB / 0.5546 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005087/0.6204, allocations: 248.5 kB / 0.5548 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.6205, allocations: 5.359 kB / 0.5548 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.6205, allocations: 0 / 0.5548 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.6205, allocations: 0.9062 kB / 0.5548 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.6206, allocations: 167.3 kB / 0.555 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.6206, allocations: 0.875 kB / 0.555 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.6208, allocations: 22.94 kB / 0.555 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6208, allocations: 3.719 kB / 0.555 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.6208, allocations: 0 / 0.555 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.6208, allocations: 2.188 kB / 0.555 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6208, allocations: 7.984 kB / 0.555 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.6212, allocations: 181.8 kB / 0.5552 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.6212, allocations: 22.45 kB / 0.5552 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.6212, allocations: 0.9688 kB / 0.5552 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.6214, allocations: 7.906 kB / 0.5552 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.6215, allocations: 7.219 kB / 0.5552 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.6215, allocations: 6.562 kB / 0.5552 GB, free: 15.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001495/0.6216, allocations: 132.2 kB / 0.5554 GB, free: 15.22 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6216, allocations: 0 / 0.5554 GB, free: 15.22 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004215/0.622, allocations: 131.9 kB / 0.5555 GB, free: 15.2 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005034/0.6225, allocations: 302.2 kB / 0.5558 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002632/0.6228, allocations: 91.16 kB / 0.5559 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6228, allocations: 0 / 0.5559 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.6229, allocations: 33.66 kB / 0.5559 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.6231, allocations: 16.92 kB / 0.5559 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004927/0.6236, allocations: 307.2 kB / 0.5562 GB, free: 14.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.285e-05/0.6237, allocations: 75.58 kB / 0.5563 GB, free: 14.83 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004116/0.6241, allocations: 433.5 kB / 0.5567 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.6242, allocations: 39.31 kB / 0.5567 GB, free: 14.79 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.6242, allocations: 4 kB / 0.5567 GB, free: 14.78 MB / 462.1 MB Notification: Performance of Templates: time 0.007912/0.6321, allocations: 5.492 MB / 0.5621 GB, free: 14.1 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.9899925123900175]