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.001406/0.001406, allocations: 79.84 kB / 21.43 MB, free: 296 kB / 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.001678/0.001678, allocations: 164 kB / 24.7 MB, free: 3.547 MB / 14.72 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 1.366/1.366, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] 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 2.013e-06/2.013e-06, allocations: 0 / 298.9 MB, free: 8.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.062e-05/3.263e-05, allocations: 2.281 kB / 298.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002656/0.002688, allocations: 1.345 MB / 300.3 MB, free: 7.379 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.3046/0.3073, allocations: 129.6 MB / 429.8 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.797e-05/0.3073, allocations: 0 / 429.8 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.418e-05/0.3074, allocations: 7.922 kB / 429.9 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.3087, allocations: 359.8 kB / 430.2 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.3108, allocations: 0.8316 MB / 431 MB, free: 9.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.311, allocations: 75.58 kB / 431.1 MB, free: 9.797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.311, allocations: 7.938 kB / 431.1 MB, free: 9.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.3111, allocations: 51.81 kB / 431.2 MB, free: 9.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.3112, allocations: 35.89 kB / 431.2 MB, free: 9.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.3112, allocations: 0 / 431.2 MB, free: 9.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002437/0.3137, allocations: 1.192 MB / 432.4 MB, free: 8.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.232e-05/0.3137, allocations: 11.94 kB / 432.4 MB, free: 8.496 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.3138, allocations: 19.92 kB / 432.4 MB, free: 8.477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002122/0.3159, allocations: 0.9391 MB / 433.4 MB, free: 7.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.3159, allocations: 0 / 433.4 MB, free: 7.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.3159, allocations: 0 / 433.4 MB, free: 7.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.3159, allocations: 0.5625 kB / 433.4 MB, free: 7.535 MB / 382.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.001068/0.317, allocations: 405.5 kB / 433.8 MB, free: 7.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.827e-05/0.3171, allocations: 15.98 kB / 433.8 MB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004251/0.3175, allocations: 40.78 kB / 433.8 MB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.3178, allocations: 145.3 kB / 434 MB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.3178, allocations: 384 / 434 MB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.496e-05/0.3178, allocations: 9.406 kB / 434 MB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.3181, allocations: 71.95 kB / 434 MB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.3181, allocations: 3.938 kB / 434 MB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.3181, allocations: 0 / 434 MB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.3181, allocations: 4 kB / 434 MB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.3183, allocations: 43.91 kB / 434.1 MB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.3186, allocations: 146.2 kB / 434.2 MB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/0.319, allocations: 109.2 kB / 434.3 MB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.352e-05/0.3191, allocations: 29.7 kB / 434.4 MB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006298/0.3197, allocations: 73.73 kB / 434.4 MB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.3197, allocations: 30.56 kB / 434.5 MB, free: 6.305 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.3197, allocations: 0 / 434.5 MB, free: 6.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004911/0.3202, allocations: 121.8 kB / 434.6 MB, free: 6.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.3203, allocations: 81.11 kB / 434.7 MB, free: 6.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.3205, allocations: 141.8 kB / 434.8 MB, free: 5.934 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/0.3206, allocations: 29.7 kB / 434.8 MB, free: 5.898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.484e-05/0.3207, allocations: 88.88 kB / 434.9 MB, free: 5.809 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.225e-05/0.3207, allocations: 23.81 kB / 434.9 MB, free: 5.785 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.3208, allocations: 17.72 kB / 435 MB, free: 5.762 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000232/0.321, allocations: 322.8 kB / 435.3 MB, free: 5.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.817e-05/0.3211, allocations: 23.98 kB / 435.3 MB, free: 5.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.562e-05/0.3212, allocations: 51.41 kB / 435.4 MB, free: 5.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.3214, allocations: 92 kB / 435.4 MB, free: 5.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3214, allocations: 0 / 435.4 MB, free: 5.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002895/0.3217, allocations: 105.5 kB / 435.5 MB, free: 5.141 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.3217, allocations: 4 kB / 435.5 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3217, allocations: 0 / 435.5 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/0.3217, allocations: 11.88 kB / 435.6 MB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.097e-05/0.3218, allocations: 16.92 kB / 435.6 MB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.3218, allocations: 8.484 kB / 435.6 MB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.873e-05/0.3219, allocations: 11.89 kB / 435.6 MB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.3219, allocations: 8 kB / 435.6 MB, free: 5.082 MB / 382.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 0.0001273/0.322, allocations: 109.8 kB / 435.7 MB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.3221, allocations: 7.953 kB / 435.7 MB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/0.3224, allocations: 113.9 kB / 435.8 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3224, allocations: 7.938 kB / 435.8 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3224, allocations: 0 / 435.8 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3224, allocations: 3.438 kB / 435.8 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.3226, allocations: 129.3 kB / 436 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3226, allocations: 0 / 436 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.906e-05/0.3227, allocations: 19.92 kB / 436 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3227, allocations: 0 / 436 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.3227, allocations: 4 kB / 436 MB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3227, allocations: 0 / 436 MB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.3227, allocations: 3.938 kB / 436 MB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004261/0.3231, allocations: 157.9 kB / 436.1 MB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.735e-05/0.3232, allocations: 11.97 kB / 436.2 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.3232, allocations: 8.062 kB / 436.2 MB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.344e-05/0.3233, allocations: 7.984 kB / 436.2 MB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.3233, allocations: 4.125 kB / 436.2 MB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.3233, allocations: 4 kB / 436.2 MB, free: 4.438 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.3234, allocations: 115.2 kB / 436.3 MB, free: 4.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3234, allocations: 0 / 436.3 MB, free: 4.324 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008826/0.3243, allocations: 211.3 kB / 436.5 MB, free: 4.117 MB / 382.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.001479/0.3258, allocations: 0.5466 MB / 437 MB, free: 3.566 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.326, allocations: 63.97 kB / 437.1 MB, free: 3.504 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.326, allocations: 0 / 437.1 MB, free: 3.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.527e-05/0.3261, allocations: 31.97 kB / 437.1 MB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.3264, allocations: 25.92 kB / 437.2 MB, free: 3.449 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005883/0.327, allocations: 260.8 kB / 437.4 MB, free: 3.168 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.61e-05/0.3271, allocations: 75.58 kB / 437.5 MB, free: 3.074 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.028e-05/0.3272, allocations: 24.09 kB / 437.5 MB, free: 3.051 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.846e-05/0.3272, allocations: 20.48 kB / 437.5 MB, free: 3.031 MB / 382.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3272, allocations: 0 / 437.5 MB, free: 3.031 MB / 382.1 MB Notification: Performance of Templates: time 0.01264/0.3399, allocations: 6.248 MB / 443.8 MB, free: 12.79 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.717801924794912]