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.0009245/0.0009245, allocations: 80.92 kB / 22.29 MB, free: 2.207 MB / 18.57 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.001002/0.001002, allocations: 163 kB / 25.69 MB, free: 8.406 MB / 18.57 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 0.9494/0.9494, allocations: 158.6 MB / 187.6 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.275e-05, allocations: 10.25 kB / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002586/0.002609, allocations: 1.449 MB / 253 MB, free: 5.773 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.2983/0.3009, allocations: 143.1 MB / 396.1 MB, free: 9.102 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.3009, allocations: 0 / 396.1 MB, free: 9.102 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 5.002e-05/0.301, allocations: 7.531 kB / 396.1 MB, free: 9.098 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.302, allocations: 356.3 kB / 396.4 MB, free: 9.055 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.3036, allocations: 0.7932 MB / 397.2 MB, free: 8.957 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.3037, allocations: 70.78 kB / 397.3 MB, free: 8.957 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.16e-05/0.3038, allocations: 6.531 kB / 397.3 MB, free: 8.957 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.026e-05/0.3039, allocations: 41.61 kB / 397.3 MB, free: 8.957 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.374e-05/0.3039, allocations: 35.3 kB / 397.4 MB, free: 8.957 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.3039, allocations: 0 / 397.4 MB, free: 8.957 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.3056, allocations: 1.255 MB / 398.6 MB, free: 8.875 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.886e-05/0.3056, allocations: 8.219 kB / 398.6 MB, free: 8.875 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.3056, allocations: 25.72 kB / 398.7 MB, free: 8.871 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.3066, allocations: 0.9369 MB / 399.6 MB, free: 8.609 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3067, allocations: 0 / 399.6 MB, free: 8.609 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3067, allocations: 0 / 399.6 MB, free: 8.609 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3067, allocations: 0 / 399.6 MB, free: 8.609 MB / 330.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.0004464/0.3071, allocations: 379.1 kB / 400 MB, free: 8.281 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.3071, allocations: 16.2 kB / 400 MB, free: 8.273 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002164/0.3074, allocations: 46.09 kB / 400 MB, free: 8.258 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.3075, allocations: 135.3 kB / 400.2 MB, free: 8.117 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.3075, allocations: 2.719 kB / 400.2 MB, free: 8.117 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.3075, allocations: 3.531 kB / 400.2 MB, free: 8.117 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.951e-05/0.3076, allocations: 68.27 kB / 400.2 MB, free: 8.043 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.3076, allocations: 6.344 kB / 400.2 MB, free: 8.039 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.3076, allocations: 0 / 400.2 MB, free: 8.039 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.3076, allocations: 0 / 400.2 MB, free: 8.039 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.596e-05/0.3076, allocations: 25.97 kB / 400.3 MB, free: 8.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.05e-05/0.3077, allocations: 83.58 kB / 400.4 MB, free: 7.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.3079, allocations: 77.67 kB / 400.4 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/0.3079, allocations: 18.25 kB / 400.4 MB, free: 7.836 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001972/0.3081, allocations: 48.48 kB / 400.5 MB, free: 7.824 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.3081, allocations: 30.56 kB / 400.5 MB, free: 7.785 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 9.91e-07/0.3081, allocations: 3.938 kB / 400.5 MB, free: 7.781 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001314/0.3082, allocations: 67.66 kB / 400.6 MB, free: 7.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.3083, allocations: 87.11 kB / 400.7 MB, free: 7.633 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.197e-05/0.3083, allocations: 130.2 kB / 400.8 MB, free: 7.516 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.541e-06/0.3083, allocations: 25.7 kB / 400.8 MB, free: 7.484 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.201e-05/0.3083, allocations: 84.52 kB / 400.9 MB, free: 7.402 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.3084, allocations: 28.73 kB / 400.9 MB, free: 7.383 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/0.3084, allocations: 19.22 kB / 401 MB, free: 7.367 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.283e-05/0.3084, allocations: 321.6 kB / 401.3 MB, free: 7.051 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.3084, allocations: 8.234 kB / 401.3 MB, free: 7.047 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.89e-05/0.3084, allocations: 31.52 kB / 401.3 MB, free: 7.012 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.349e-05/0.3085, allocations: 58.27 kB / 401.4 MB, free: 6.961 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3085, allocations: 0 / 401.4 MB, free: 6.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.204e-05/0.3086, allocations: 69.78 kB / 401.4 MB, free: 6.906 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.3086, allocations: 5.625 kB / 401.4 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3086, allocations: 0 / 401.4 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3086, allocations: 3 kB / 401.4 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.989e-05/0.3086, allocations: 14.92 kB / 401.5 MB, free: 6.902 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.3086, allocations: 6.531 kB / 401.5 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.246e-05/0.3087, allocations: 10.08 kB / 401.5 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.3087, allocations: 3.984 kB / 401.5 MB, free: 6.891 MB / 330.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 3.54e-05/0.3087, allocations: 118.6 kB / 401.6 MB, free: 6.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.3087, allocations: 13.73 kB / 401.6 MB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.711e-05/0.3088, allocations: 76.02 kB / 401.7 MB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3088, allocations: 2.219 kB / 401.7 MB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.3088, allocations: 3.938 kB / 401.7 MB, free: 6.707 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3088, allocations: 0 / 401.7 MB, free: 6.707 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.374e-05/0.3089, allocations: 75.59 kB / 401.8 MB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.3089, allocations: 4 kB / 401.8 MB, free: 6.629 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.3089, allocations: 14.95 kB / 401.8 MB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3089, allocations: 3.188 kB / 401.8 MB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.3089, allocations: 3.562 kB / 401.8 MB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3089, allocations: 3.938 kB / 401.8 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3089, allocations: 0 / 401.8 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.309, allocations: 111.3 kB / 401.9 MB, free: 6.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.3091, allocations: 10.45 kB / 401.9 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.3091, allocations: 0 / 401.9 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.631e-05/0.3091, allocations: 2.531 kB / 401.9 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.3091, allocations: 10.86 kB / 401.9 MB, free: 6.508 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.3091, allocations: 0 / 401.9 MB, free: 6.508 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.141e-05/0.3091, allocations: 35.44 kB / 402 MB, free: 6.488 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3091, allocations: 0 / 402 MB, free: 6.488 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000334/0.3095, allocations: 207.5 kB / 402.2 MB, free: 6.438 MB / 330.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.000842/0.3103, allocations: 0.5274 MB / 402.7 MB, free: 6.195 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.7e-05/0.3104, allocations: 41.53 kB / 402.7 MB, free: 6.176 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3104, allocations: 0 / 402.7 MB, free: 6.176 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.888e-05/0.3104, allocations: 17.08 kB / 402.7 MB, free: 6.164 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.3106, allocations: 37.88 kB / 402.8 MB, free: 6.156 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005152/0.3111, allocations: 256.2 kB / 403 MB, free: 5.945 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.197e-05/0.3111, allocations: 64.84 kB / 403.1 MB, free: 5.867 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.001e-05/0.3111, allocations: 15.91 kB / 403.1 MB, free: 5.859 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.843e-05/0.3112, allocations: 69.84 kB / 403.2 MB, free: 5.809 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3112, allocations: 0 / 403.2 MB, free: 5.809 MB / 330.7 MB Notification: Performance of Templates: time 0.008377/0.3196, allocations: 8.077 MB / 411.3 MB, free: 1.496 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.122280410025269]