Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002433/0.002433, allocations: 91.61 kB / 20.96 MB, free: 3.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002858/0.002858, allocations: 156.9 kB / 24.27 MB, free: 140 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, allocations: 177 MB / 204.5 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.272e-05, allocations: 2.312 kB / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002661/0.002684, allocations: 1.385 MB / 273.6 MB, free: 440 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2973/0.2999, allocations: 144.6 MB / 418.2 MB, free: 48 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.503e-05/0.3, allocations: 0 / 418.2 MB, free: 48 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 5.223e-05/0.3001, allocations: 3.938 kB / 418.2 MB, free: 44 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.3015, allocations: 379.5 kB / 418.6 MB, free: 15.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.303, allocations: 0.5368 MB / 419.1 MB, free: 15.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.3032, allocations: 79.58 kB / 419.2 MB, free: 15.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.39e-05/0.3032, allocations: 0 / 419.2 MB, free: 15.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.3033, allocations: 47.89 kB / 419.3 MB, free: 15.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.3034, allocations: 31.89 kB / 419.3 MB, free: 14.99 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.3034, allocations: 0 / 419.3 MB, free: 14.99 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002029/0.3055, allocations: 0.9463 MB / 420.2 MB, free: 14.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.064e-05/0.3055, allocations: 15.98 kB / 420.2 MB, free: 14.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.3055, allocations: 19.94 kB / 420.3 MB, free: 14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.3072, allocations: 0.7596 MB / 421 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3072, allocations: 0 / 421 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3072, allocations: 0 / 421 MB, free: 13.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.3072, allocations: 4 kB / 421 MB, free: 13.24 MB / 378.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.0007647/0.308, allocations: 483.7 kB / 421.5 MB, free: 12.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.3081, allocations: 11.98 kB / 421.5 MB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005238/0.3086, allocations: 80.69 kB / 421.6 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.3088, allocations: 136.5 kB / 421.7 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.3088, allocations: 384 / 421.7 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.3088, allocations: 4.562 kB / 421.7 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.309, allocations: 68.98 kB / 421.8 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.309, allocations: 0.625 kB / 421.8 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.309, allocations: 4 kB / 421.8 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.309, allocations: 0 / 421.8 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.835e-05/0.3091, allocations: 23.92 kB / 421.8 MB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.3093, allocations: 136.4 kB / 422 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.3096, allocations: 94.09 kB / 422.1 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.016e-05/0.3097, allocations: 27.42 kB / 422.1 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000384/0.3101, allocations: 55.95 kB / 422.1 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.3101, allocations: 38.69 kB / 422.2 MB, free: 11.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.356e-06/0.3101, allocations: 7.922 kB / 422.2 MB, free: 11.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003479/0.3105, allocations: 89.5 kB / 422.3 MB, free: 11.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.3105, allocations: 77.11 kB / 422.3 MB, free: 11.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.3107, allocations: 190.9 kB / 422.5 MB, free: 11.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3107, allocations: 25.7 kB / 422.6 MB, free: 11.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.297e-05/0.3108, allocations: 130.9 kB / 422.7 MB, free: 11.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/0.3109, allocations: 27.78 kB / 422.7 MB, free: 11.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.274e-05/0.3109, allocations: 27.38 kB / 422.7 MB, free: 11.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002696/0.3112, allocations: 0.4884 MB / 423.2 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.473e-05/0.3112, allocations: 16 kB / 423.2 MB, free: 10.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.607e-05/0.3113, allocations: 54.67 kB / 423.3 MB, free: 10.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.3115, allocations: 66.67 kB / 423.4 MB, free: 10.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3115, allocations: 0 / 423.4 MB, free: 10.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002351/0.3117, allocations: 89.5 kB / 423.4 MB, free: 10.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3117, allocations: 7.938 kB / 423.5 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3117, allocations: 0 / 423.5 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3117, allocations: 4 kB / 423.5 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.467e-05/0.3118, allocations: 20.05 kB / 423.5 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.3118, allocations: 3.938 kB / 423.5 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.898e-05/0.3119, allocations: 7.953 kB / 423.5 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.3119, allocations: 8.5 kB / 423.5 MB, free: 10.5 MB / 378.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 0.0001194/0.312, allocations: 156.6 kB / 423.7 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.3121, allocations: 15.89 kB / 423.7 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/0.3123, allocations: 92.05 kB / 423.8 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3123, allocations: 0 / 423.8 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.3123, allocations: 0 / 423.8 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3123, allocations: 2.562 kB / 423.8 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.3125, allocations: 136.6 kB / 423.9 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3125, allocations: 0 / 423.9 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-05/0.3126, allocations: 15.98 kB / 423.9 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3126, allocations: 0 / 423.9 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.3126, allocations: 0 / 423.9 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.064e-05/0.3126, allocations: 7.938 kB / 423.9 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3126, allocations: 3.938 kB / 423.9 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.3129, allocations: 139.9 kB / 424.1 MB, free: 9.871 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.313, allocations: 15.94 kB / 424.1 MB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.313, allocations: 0 / 424.1 MB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.144e-05/0.313, allocations: 7.688 kB / 424.1 MB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.3131, allocations: 16.02 kB / 424.1 MB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.3131, allocations: 0 / 424.1 MB, free: 9.836 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001053/0.3132, allocations: 144.8 kB / 424.2 MB, free: 9.695 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3132, allocations: 0 / 424.2 MB, free: 9.695 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006041/0.3138, allocations: 171.4 kB / 424.4 MB, free: 9.527 MB / 378.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.0011/0.3149, allocations: 422.4 kB / 424.8 MB, free: 9.102 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.3151, allocations: 51.59 kB / 424.9 MB, free: 9.047 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3151, allocations: 3.938 kB / 424.9 MB, free: 9.043 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.888e-05/0.3151, allocations: 27.61 kB / 424.9 MB, free: 9.012 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.3154, allocations: 34.33 kB / 424.9 MB, free: 8.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005375/0.316, allocations: 250.7 kB / 425.2 MB, free: 8.707 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.739e-05/0.316, allocations: 71.33 kB / 425.2 MB, free: 8.617 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.411e-05/0.3161, allocations: 19.89 kB / 425.3 MB, free: 8.602 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/0.3162, allocations: 16.5 kB / 425.3 MB, free: 8.586 MB / 378.7 MB Notification: Performance of SimCode: time 7.42e-07/0.3162, allocations: 0 / 425.3 MB, free: 8.586 MB / 378.7 MB Notification: Performance of Templates: time 0.01121/0.3274, allocations: 5.025 MB / 430.3 MB, free: 3.633 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_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.9864532890496776]