Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001381/0.001381, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001512/0.001512, allocations: 170.5 kB / 24.91 MB, free: 9.211 MB / 18.57 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 0.9803/0.9803, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.783e-05, allocations: 2.312 kB / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001785/0.001802, allocations: 1.418 MB / 274.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.2666/0.2684, allocations: 144.3 MB / 419.2 MB, free: 15.87 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.583e-05/0.2684, allocations: 0 / 419.2 MB, free: 15.87 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.236e-05/0.2685, allocations: 3.938 kB / 419.2 MB, free: 15.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.2695, allocations: 388.4 kB / 419.5 MB, free: 15.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009116/0.2704, allocations: 0.5368 MB / 420.1 MB, free: 14.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.719e-05/0.2705, allocations: 79.62 kB / 420.2 MB, free: 14.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.231e-05/0.2706, allocations: 3.938 kB / 420.2 MB, free: 14.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.876e-05/0.2706, allocations: 43.89 kB / 420.2 MB, free: 14.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.118e-05/0.2707, allocations: 27.91 kB / 420.2 MB, free: 14.81 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.2707, allocations: 0 / 420.2 MB, free: 14.81 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.272, allocations: 0.9462 MB / 421.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/0.272, allocations: 15.97 kB / 421.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.272, allocations: 19.94 kB / 421.2 MB, free: 13.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007991/0.2728, allocations: 0.7558 MB / 422 MB, free: 13.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2728, allocations: 3.984 kB / 422 MB, free: 13.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2728, allocations: 0 / 422 MB, free: 13.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.2728, allocations: 0 / 422 MB, free: 13.06 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.0004339/0.2733, allocations: 352.8 kB / 422.3 MB, free: 12.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.2733, allocations: 12.03 kB / 422.3 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002928/0.2736, allocations: 80.78 kB / 422.4 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.2737, allocations: 132.5 kB / 422.5 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.2737, allocations: 4.375 kB / 422.5 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.2737, allocations: 4.562 kB / 422.5 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.2738, allocations: 84.78 kB / 422.6 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.2738, allocations: 0 / 422.6 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.2738, allocations: 0 / 422.6 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.2739, allocations: 0 / 422.6 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.761e-05/0.2739, allocations: 21.58 kB / 422.7 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.437e-05/0.274, allocations: 75.52 kB / 422.7 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.2741, allocations: 80.52 kB / 422.8 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.929e-05/0.2741, allocations: 21.66 kB / 422.8 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.2743, allocations: 39.95 kB / 422.9 MB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.2743, allocations: 42.5 kB / 422.9 MB, free: 12.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.2743, allocations: 4 kB / 422.9 MB, free: 12 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.000148/0.2745, allocations: 73.47 kB / 423 MB, free: 11.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.2745, allocations: 77.11 kB / 423.1 MB, free: 11.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.286e-05/0.2746, allocations: 136.9 kB / 423.2 MB, free: 11.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.2746, allocations: 25.7 kB / 423.2 MB, free: 11.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.056e-05/0.2746, allocations: 84.14 kB / 423.3 MB, free: 11.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.2747, allocations: 23.83 kB / 423.3 MB, free: 11.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.2747, allocations: 17.72 kB / 423.3 MB, free: 11.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.913e-05/0.2748, allocations: 318.8 kB / 423.6 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.286e-05/0.2748, allocations: 10.83 kB / 423.7 MB, free: 11.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.332e-05/0.2748, allocations: 31.42 kB / 423.7 MB, free: 11.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.797e-05/0.2748, allocations: 61.36 kB / 423.7 MB, free: 11.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2748, allocations: 0 / 423.7 MB, free: 11.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001674/0.275, allocations: 75.14 kB / 423.8 MB, free: 10.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.275, allocations: 4 kB / 423.8 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.275, allocations: 4 kB / 423.8 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.275, allocations: 3.938 kB / 423.8 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.782e-05/0.2751, allocations: 20.05 kB / 423.9 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.2751, allocations: 0 / 423.9 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.432e-05/0.2751, allocations: 10.12 kB / 423.9 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.2751, allocations: 0 / 423.9 MB, free: 10.95 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 5.414e-05/0.2752, allocations: 116.6 kB / 424 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.2752, allocations: 15.92 kB / 424 MB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.198e-05/0.2753, allocations: 75.95 kB / 424.1 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.2753, allocations: 3.938 kB / 424.1 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.2753, allocations: 0 / 424.1 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2753, allocations: 4 kB / 424.1 MB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.195e-05/0.2753, allocations: 77.89 kB / 424.2 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2753, allocations: 0 / 424.2 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.79e-05/0.2754, allocations: 11.98 kB / 424.2 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2754, allocations: 0 / 424.2 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.2754, allocations: 7.938 kB / 424.2 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2754, allocations: 4 kB / 424.2 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2754, allocations: 0 / 424.2 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.2755, allocations: 113.2 kB / 424.3 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.868e-05/0.2755, allocations: 7.953 kB / 424.3 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.2755, allocations: 4 kB / 424.3 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.498e-05/0.2756, allocations: 4.031 kB / 424.3 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.2756, allocations: 15.92 kB / 424.3 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.2756, allocations: 0 / 424.3 MB, free: 10.44 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.503e-05/0.2756, allocations: 29.73 kB / 424.3 MB, free: 10.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2756, allocations: 0 / 424.3 MB, free: 10.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002998/0.2759, allocations: 171.4 kB / 424.5 MB, free: 10.24 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.0005696/0.2765, allocations: 409.6 kB / 424.9 MB, free: 9.832 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.679e-05/0.2766, allocations: 36.78 kB / 424.9 MB, free: 9.793 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2766, allocations: 4.125 kB / 425 MB, free: 9.789 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.204e-05/0.2766, allocations: 24.77 kB / 425 MB, free: 9.762 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.2767, allocations: 27.97 kB / 425 MB, free: 9.734 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004978/0.2772, allocations: 251 kB / 425.2 MB, free: 9.457 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.723e-05/0.2773, allocations: 59.34 kB / 425.3 MB, free: 9.379 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.644e-05/0.2773, allocations: 11.61 kB / 425.3 MB, free: 9.371 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.485e-05/0.2774, allocations: 71.34 kB / 425.4 MB, free: 9.301 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2774, allocations: 8 kB / 425.4 MB, free: 9.293 MB / 378.7 MB Notification: Performance of Templates: time 0.00682/0.2842, allocations: 6.259 MB / 431.7 MB, free: 3.105 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.3014229009859264]