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.001342/0.001342, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.0009551/0.0009551, allocations: 156.5 kB / 24.55 MB, free: 20 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 0.951/0.951, allocations: 177 MB / 204.8 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] 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.423e-06/1.423e-06, allocations: 0 / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.811e-05/1.954e-05, allocations: 5.125 kB / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.005227/0.005246, allocations: 1.416 MB / 274.3 MB, free: 36 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2711/0.2763, allocations: 144.9 MB / 419.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.632e-05/0.2764, allocations: 0 / 419.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 6.834e-05/0.2765, allocations: 7.922 kB / 419.2 MB, free: 15.51 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.2777, allocations: 384.4 kB / 419.6 MB, free: 15.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.2789, allocations: 0.5446 MB / 420.2 MB, free: 14.6 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.279, allocations: 67.66 kB / 420.2 MB, free: 14.53 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.018e-05/0.2791, allocations: 4 kB / 420.2 MB, free: 14.53 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.88e-05/0.2791, allocations: 47.81 kB / 420.3 MB, free: 14.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.108e-05/0.2792, allocations: 31.91 kB / 420.3 MB, free: 14.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.2792, allocations: 4 kB / 420.3 MB, free: 14.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.2807, allocations: 0.9463 MB / 421.3 MB, free: 13.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.2808, allocations: 15.97 kB / 421.3 MB, free: 13.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.235e-05/0.2808, allocations: 19.94 kB / 421.3 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.282, allocations: 0.7635 MB / 422.1 MB, free: 12.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.282, allocations: 0 / 422.1 MB, free: 12.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.282, allocations: 0 / 422.1 MB, free: 12.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.282, allocations: 0 / 422.1 MB, free: 12.7 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.0005886/0.2826, allocations: 484.5 kB / 422.5 MB, free: 12.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.2826, allocations: 15.97 kB / 422.5 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004284/0.2831, allocations: 76.75 kB / 422.6 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.2832, allocations: 132.4 kB / 422.8 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.2832, allocations: 384 / 422.8 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.2832, allocations: 8.562 kB / 422.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.2834, allocations: 77.69 kB / 422.8 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.2834, allocations: 0 / 422.8 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.2834, allocations: 0 / 422.8 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.2834, allocations: 4 kB / 422.8 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.978e-05/0.2834, allocations: 19.86 kB / 422.9 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.2836, allocations: 140.4 kB / 423 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.2838, allocations: 86.11 kB / 423.1 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.2838, allocations: 23.42 kB / 423.1 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002684/0.2841, allocations: 55.92 kB / 423.2 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.2841, allocations: 41.39 kB / 423.2 MB, free: 11.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.2841, allocations: 3.938 kB / 423.2 MB, free: 11.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002213/0.2844, allocations: 77.5 kB / 423.3 MB, free: 11.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.2844, allocations: 81.11 kB / 423.4 MB, free: 11.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.2845, allocations: 187.3 kB / 423.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.2845, allocations: 29.7 kB / 423.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.2846, allocations: 134.9 kB / 423.7 MB, free: 10.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.2846, allocations: 23.78 kB / 423.7 MB, free: 10.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.2846, allocations: 23.38 kB / 423.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.2848, allocations: 0.4884 MB / 424.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.663e-05/0.2848, allocations: 11.98 kB / 424.2 MB, free: 10.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.268e-05/0.2848, allocations: 46.73 kB / 424.3 MB, free: 10.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.414e-05/0.2849, allocations: 58.69 kB / 424.4 MB, free: 10.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2849, allocations: 0 / 424.4 MB, free: 10.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001585/0.2851, allocations: 93.84 kB / 424.4 MB, free: 10.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.2851, allocations: 8.562 kB / 424.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2851, allocations: 0 / 424.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.2851, allocations: 8.062 kB / 424.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.504e-05/0.2852, allocations: 15.98 kB / 424.5 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2852, allocations: 0 / 424.5 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.759e-05/0.2852, allocations: 7.953 kB / 424.5 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.2852, allocations: 4 kB / 424.5 MB, free: 10 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 7.096e-05/0.2853, allocations: 160.5 kB / 424.6 MB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.798e-05/0.2853, allocations: 15.89 kB / 424.7 MB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.2855, allocations: 88.38 kB / 424.7 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2855, allocations: 0 / 424.7 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2855, allocations: 0 / 424.7 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2855, allocations: 4 kB / 424.7 MB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.988e-05/0.2856, allocations: 124.6 kB / 424.9 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2856, allocations: 1.062 kB / 424.9 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.843e-05/0.2857, allocations: 15.98 kB / 424.9 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.2857, allocations: 0 / 424.9 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.2857, allocations: 4 kB / 424.9 MB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.2857, allocations: 7.938 kB / 424.9 MB, free: 9.539 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.2857, allocations: 3.938 kB / 424.9 MB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.2859, allocations: 124.7 kB / 425 MB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.2859, allocations: 15.94 kB / 425 MB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.2859, allocations: 4.031 kB / 425 MB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.07e-05/0.2859, allocations: 3.938 kB / 425 MB, free: 9.363 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.286, allocations: 8.734 kB / 425.1 MB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.286, allocations: 4 kB / 425.1 MB, free: 9.352 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.525e-05/0.2861, allocations: 143.2 kB / 425.2 MB, free: 9.211 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2861, allocations: 0 / 425.2 MB, free: 9.211 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004396/0.2865, allocations: 171.4 kB / 425.4 MB, free: 9.043 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.0007788/0.2873, allocations: 431.4 kB / 425.8 MB, free: 8.609 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001237/0.2874, allocations: 39.61 kB / 425.8 MB, free: 8.566 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2874, allocations: 8.062 kB / 425.8 MB, free: 8.559 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.48e-05/0.2874, allocations: 27.61 kB / 425.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.2877, allocations: 33.55 kB / 425.9 MB, free: 8.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007762/0.2885, allocations: 255.8 kB / 426.1 MB, free: 8.223 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.928e-05/0.2885, allocations: 63.34 kB / 426.2 MB, free: 8.141 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.287e-05/0.2886, allocations: 15.61 kB / 426.2 MB, free: 8.129 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.2886, allocations: 16.5 kB / 426.2 MB, free: 8.113 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.2886, allocations: 4 kB / 426.2 MB, free: 8.109 MB / 378.7 MB Notification: Performance of Templates: time 0.008109/0.2967, allocations: 5.028 MB / 431.3 MB, free: 3.152 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","",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.411364716012031]